Remove the explicit call to ../Makefile mdec:, it is now handled by a make
install from the top level correctly. Rewrite release-dirs: to use new mtree file mtree/BSD.release.dist.
This commit is contained in:
parent
ef3bc95504
commit
b33a9d8ffb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=2611
23
etc/Makefile
23
etc/Makefile
@ -1,5 +1,5 @@
|
||||
# from: @(#)Makefile 5.11 (Berkeley) 5/21/91
|
||||
# $Id: Makefile,v 1.78 1994/09/07 07:42:56 pst Exp $
|
||||
# $Id: Makefile,v 1.79 1994/09/08 09:33:38 rgrimes Exp $
|
||||
|
||||
# disktab may be wrong -- hcx9 is a tahoe, but gets its own.
|
||||
# -rw-r--r--
|
||||
@ -217,7 +217,6 @@ distribution: distrib-dirs
|
||||
${DESTDIR}/etc/sendmail.cf)
|
||||
(cd ${.CURDIR}/..; \
|
||||
install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${FREEBSD} ${DESTDIR}/)
|
||||
(cd ${.CURDIR}/..; ${MAKE} mdec; )
|
||||
(cd ${.CURDIR}/../share/man; ${MAKE} makedb; )
|
||||
.if ${MACHINE} == "tahoe"
|
||||
(cd ${.CURDIR}/etc.tahoe; install -c -o ${BINOWN} -g ${BINGRP} \
|
||||
@ -569,22 +568,8 @@ release: release-dirs distribution crunch extract kcopy-kernels \
|
||||
floppies bin-tarball des-tarball clean
|
||||
|
||||
release-dirs:
|
||||
chflags -R noschg ${RELEASEDIR}/filesys
|
||||
rm -rf ${RELEASEDIR}/filesys
|
||||
mkdir ${RELEASEDIR}/filesys
|
||||
chown ${BINOWN}.${BINGRP} ${RELEASEDIR}/filesys
|
||||
chmod 755 ${RELEASEDIR}/filesys
|
||||
rm -rf ${RELEASEDIR}/tarballs
|
||||
mkdir ${RELEASEDIR}/tarballs
|
||||
mkdir ${RELEASEDIR}/tarballs/bindist
|
||||
mkdir ${RELEASEDIR}/tarballs/objdist
|
||||
mkdir ${RELEASEDIR}/tarballs/secrdist
|
||||
mkdir ${RELEASEDIR}/tarballs/srcdist
|
||||
chown -R ${BINOWN}.${BINGRP} ${RELEASEDIR}/tarballs
|
||||
chmod -R 755 ${RELEASEDIR}/tarballs
|
||||
rm -rf ${RELEASEDIR}/floppies
|
||||
mkdir ${RELEASEDIR}/floppies
|
||||
chown ${BINOWN}.${BINGRP} ${RELEASEDIR}/floppies
|
||||
chmod 755 ${RELEASEDIR}/floppies
|
||||
chflags -R noschg ${RELEASEDIR}
|
||||
rm -rf ${RELEASEDIR}/*
|
||||
mtree -u -f ${.CURDIR}/mtree/BSD.release.dist -p ${RELEASEDIR}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user