Use new mtree file to rebuild /usr/include.

This commit is contained in:
Rodney W. Grimes
1995-03-18 07:02:10 +00:00
parent 2c4bf858fd
commit 5a9e9cbac4
2 changed files with 56 additions and 5 deletions
+4 -5
View File
@@ -1,5 +1,5 @@
# #
# $Id: Makefile,v 1.44 1995/03/14 21:32:46 roberto Exp $ # $Id: Makefile,v 1.45 1995/03/17 04:59:44 phk Exp $
# #
# Make command line options: # Make command line options:
# -DCLOBBER will remove /usr/include and MOST of /usr/lib # -DCLOBBER will remove /usr/include and MOST of /usr/lib
@@ -195,10 +195,9 @@ includes:
@echo "--------------------------------------------------------------" @echo "--------------------------------------------------------------"
@echo @echo
.if defined(CLOBBER) .if defined(CLOBBER)
rm -rf ${DESTDIR}/usr/include rm -rf ${DESTDIR}/usr/include/*
mkdir ${DESTDIR}/usr/include mtree -deU -f ${.CURDIR}/etc/mtree/BSD.include.dist \
chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include -p ${DESTDIR}/usr/include
chmod 755 ${DESTDIR}/usr/include
.endif .endif
cd ${.CURDIR}/include && ${MAKE} install cd ${.CURDIR}/include && ${MAKE} install
cd ${.CURDIR}/gnu/include && ${MAKE} install cd ${.CURDIR}/gnu/include && ${MAKE} install
+52
View File
@@ -0,0 +1,52 @@
# $Id$
#
/set type=dir uname=bin gname=bin mode=0755
.
arpa
..
g++
..
kerberosIV
..
machine
..
net
..
netccitt
..
netinet
..
netiso
..
netns
..
nfs
..
objc
..
protocols
..
readline
..
rpc
..
rpcsvc
..
ss
..
sys
..
ufs
ffs
..
lfs
..
mfs
..
ufs
..
..
vm
..
..