summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-03-09 07:12:37 +0000
committerbde <bde@FreeBSD.org>1997-03-09 07:12:37 +0000
commitbf5cb4af6f7c86b22fbaec761dcade8132832214 (patch)
tree36bf22eaf9451806e8663ff3066dbb06104c5046 /include
parentba8a69e0e7fe839a743335f2f85f2b62f5566bb6 (diff)
downloadFreeBSD-src-bf5cb4af6f7c86b22fbaec761dcade8132832214.zip
FreeBSD-src-bf5cb4af6f7c86b22fbaec761dcade8132832214.tar.gz
Don't use a dot in the chown command. In fact, don't use a chown command.
Use mtree instead of mkdir+chown+chmod to build the subdirectory hierachy. The corresponding mtree command in src/etc/Makefile can't be relied on because the hierachy gets blown away in the default SHARED=symlinks case.
Diffstat (limited to 'include')
-rw-r--r--include/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/include/Makefile b/include/Makefile
index 9b37e45..38df7d3 100644
--- a/include/Makefile
+++ b/include/Makefile
@@ -1,5 +1,5 @@
# From: @(#)Makefile 8.2 (Berkeley) 1/4/94
-# $Id: Makefile,v 1.50 1997/02/23 09:17:12 peter Exp $
+# $Id: Makefile,v 1.51 1997/03/02 14:06:24 bde Exp $
#
# Doing a make install builds /usr/include
#
@@ -85,13 +85,8 @@ copies:
rm -f ${DESTDIR}/usr/include/$i; \
fi
.endfor
-.for i in ${LDIRS} ${LNOHEADERDIRS} ${LSUBDIRS} machine
- if [ ! -d ${DESTDIR}/usr/include/$i ]; then \
- mkdir ${DESTDIR}/usr/include/$i; \
- chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/$i; \
- chmod 755 ${DESTDIR}/usr/include/$i; \
- fi
-.endfor
+ mtree -deU -f ${.CURDIR}/../etc/mtree/BSD.include.dist \
+ -p ${DESTDIR}/usr/include
.for i in ${LDIRS} ${LSUBDIRS}
cd ${.CURDIR}/../sys; \
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 $i/*.h \
OpenPOWER on IntegriCloud