mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 17:32:43 +00:00
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.
This commit is contained in:
parent
a2c5351617
commit
5f9b5b67b8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=23566
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user