From 2997c484c4e7ee59b92207ad43d5b620e13095a2 Mon Sep 17 00:00:00 2001 From: rgrimes Date: Fri, 23 Sep 1994 06:21:13 +0000 Subject: Add -e option to mtree commands so that extra directories are ignored. Change conditional around building usr/local to be MAKE_LOCAL instead of CDROMDIST. This was coped from src/Makefile and makes much more since. --- etc/Makefile | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'etc') diff --git a/etc/Makefile b/etc/Makefile index 33ab654..9043e17 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -1,5 +1,5 @@ # from: @(#)Makefile 5.11 (Berkeley) 5/21/91 -# $Id: Makefile,v 1.82 1994/09/15 04:44:03 rgrimes Exp $ +# $Id: Makefile,v 1.84 1994/09/23 06:15:19 rgrimes Exp $ # disktab may be wrong -- hcx9 is a tahoe, but gets its own. # -rw-r--r-- @@ -550,11 +550,14 @@ distrib-dirs: # XXX The mtree commands need to be redone so that a status of 0 or # 2 is okay, but a status of 1 causes the make to abort. # - mtree -d -u -f ${.CURDIR}/mtree/BSD.root.dist -p ${DESTDIR}/ - mtree -d -u -f ${.CURDIR}/mtree/BSD.var.dist -p ${DESTDIR}/var - mtree -d -u -f ${.CURDIR}/mtree/BSD.usr.dist -p ${DESTDIR}/usr -.if defined(CDROMDIST) - mtree -d -u -f ${.CURDIR}/mtree/BSD.local.dist -p ${DESTDIR}/usr/local + # XXX This will currently error out if you have a procfs mounted, + # unmount it to get past this problem until procfs is fixed. + # + mtree -deu -f ${.CURDIR}/mtree/BSD.root.dist -p ${DESTDIR}/ + mtree -deu -f ${.CURDIR}/mtree/BSD.var.dist -p ${DESTDIR}/var + mtree -deu -f ${.CURDIR}/mtree/BSD.usr.dist -p ${DESTDIR}/usr +.if defined(MAKE_LOCAL) + mtree -deu -f ${.CURDIR}/mtree/BSD.local.dist -p ${DESTDIR}/usr/local .endif cd ${DESTDIR}/; rm -f ${DESTDIR}/sys; ln -s usr/src/sys sys -- cgit v1.1