summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1995-03-18 07:02:10 +0000
committerrgrimes <rgrimes@FreeBSD.org>1995-03-18 07:02:10 +0000
commit5a3c7f88d1e9f986d05945a7fe48a79b8f3a6de6 (patch)
treeee34dc60979546bf025c75fffdf6875952a906da
parente47016da2dd58424d959dbb0c0f90ae39822c823 (diff)
downloadFreeBSD-src-5a3c7f88d1e9f986d05945a7fe48a79b8f3a6de6.zip
FreeBSD-src-5a3c7f88d1e9f986d05945a7fe48a79b8f3a6de6.tar.gz
Use new mtree file to rebuild /usr/include.
-rw-r--r--Makefile9
-rw-r--r--etc/mtree/BSD.include.dist52
2 files changed, 56 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 469a74f..ba7746a 100644
--- a/Makefile
+++ b/Makefile
@@ -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:
# -DCLOBBER will remove /usr/include and MOST of /usr/lib
@@ -195,10 +195,9 @@ includes:
@echo "--------------------------------------------------------------"
@echo
.if defined(CLOBBER)
- rm -rf ${DESTDIR}/usr/include
- mkdir ${DESTDIR}/usr/include
- chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include
- chmod 755 ${DESTDIR}/usr/include
+ rm -rf ${DESTDIR}/usr/include/*
+ mtree -deU -f ${.CURDIR}/etc/mtree/BSD.include.dist \
+ -p ${DESTDIR}/usr/include
.endif
cd ${.CURDIR}/include && ${MAKE} install
cd ${.CURDIR}/gnu/include && ${MAKE} install
diff --git a/etc/mtree/BSD.include.dist b/etc/mtree/BSD.include.dist
new file mode 100644
index 0000000..0c6a948
--- /dev/null
+++ b/etc/mtree/BSD.include.dist
@@ -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
+ ..
+..
OpenPOWER on IntegriCloud