diff options
author | bde <bde@FreeBSD.org> | 1997-03-09 07:12:37 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1997-03-09 07:12:37 +0000 |
commit | bf5cb4af6f7c86b22fbaec761dcade8132832214 (patch) | |
tree | 36bf22eaf9451806e8663ff3066dbb06104c5046 /include | |
parent | ba8a69e0e7fe839a743335f2f85f2b62f5566bb6 (diff) | |
download | FreeBSD-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/Makefile | 11 |
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 \ |