View | Details | Raw Unified | Return to bug 13016 | Differences between
and this patch

Collapse All | Expand All

(-)release/Makefile (-1 / +5 lines)
Lines 130-135 Link Here
130
DOCREL= doc.1
130
DOCREL= doc.1
131
.endif
131
.endif
132
132
133
# Name of the sendmail.cf file to include in the RELEASE
134
RELEASE_CF?=freebsd.cf
135
133
rerelease release:
136
rerelease release:
134
.if !defined(CHROOTDIR) || !defined(BUILDNAME) || !defined(CVSROOT)
137
.if !defined(CHROOTDIR) || !defined(BUILDNAME) || !defined(CVSROOT)
135
	@echo "To make a release you must set CHROOTDIR, BUILDNAME and CVSROOT" && false
138
	@echo "To make a release you must set CHROOTDIR, BUILDNAME and CVSROOT" && false
Lines 144-150 Link Here
144
.endif
147
.endif
145
	-mkdir -p ${CHROOTDIR}
148
	-mkdir -p ${CHROOTDIR}
146
	cd ${.CURDIR}/../etc && ${MAKE} distrib-dirs DESTDIR=${CHROOTDIR}
149
	cd ${.CURDIR}/../etc && ${MAKE} distrib-dirs DESTDIR=${CHROOTDIR}
147
	cd ${.CURDIR}/../etc && ${MAKE} distribution DESTDIR=${CHROOTDIR}
150
	cd ${.CURDIR}/../etc && ${MAKE} distribution DESTDIR=${CHROOTDIR} \
151
		SENDMAIL_CF=${RELEASE_CF}
148
	if [ -f /etc/resolv.conf ]; then \
152
	if [ -f /etc/resolv.conf ]; then \
149
		cp -p /etc/resolv.conf ${CHROOTDIR}/etc; \
153
		cp -p /etc/resolv.conf ${CHROOTDIR}/etc; \
150
	fi
154
	fi

Return to bug 13016