aboutsummaryrefslogtreecommitdiff
path: root/include/Makefile
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1997-03-09 07:12:37 +0000
committerBruce Evans <bde@FreeBSD.org>1997-03-09 07:12:37 +0000
commit5f9b5b67b851afb9cac23915a8b10110d463ff06 (patch)
tree96f93eb29e8ef6abcbf0d0b8124956de8a448c74 /include/Makefile
parenta2c5351617c2aec4031d2ea27b66e985a2802c0e (diff)
downloadsrc-5f9b5b67b851afb9cac23915a8b10110d463ff06.tar.gz
src-5f9b5b67b851afb9cac23915a8b10110d463ff06.zip
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.
Notes
Notes: svn path=/head/; revision=23566
Diffstat (limited to 'include/Makefile')
-rw-r--r--include/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/include/Makefile b/include/Makefile
index 9b37e45a704b..38df7d3b604c 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 \