Add/use MTREE_FOLLOWS_SYMLINKS make.conf option

This is part of whole subsystem fixing

Reviewed by:	imp
This commit is contained in:
ache 2000-09-15 08:07:05 +00:00
parent 5d2e6ec5c0
commit 3ef1d125fe
3 changed files with 11 additions and 5 deletions

View File

@ -148,12 +148,12 @@ distribution:
.endif
distrib-dirs:
mtree -deU -f ${.CURDIR}/mtree/BSD.root.dist -p ${DESTDIR}/
mtree -deU -f ${.CURDIR}/mtree/BSD.var.dist -p ${DESTDIR}/var
mtree -deU -f ${.CURDIR}/mtree/BSD.usr.dist -p ${DESTDIR}/usr
mtree -deU -f ${.CURDIR}/mtree/BSD.include.dist \
mtree -deU ${MTREE_FOLLOWS_SYMLINKS} -f ${.CURDIR}/mtree/BSD.root.dist -p ${DESTDIR}/
mtree -deU ${MTREE_FOLLOWS_SYMLINKS} -f ${.CURDIR}/mtree/BSD.var.dist -p ${DESTDIR}/var
mtree -deU ${MTREE_FOLLOWS_SYMLINKS} -f ${.CURDIR}/mtree/BSD.usr.dist -p ${DESTDIR}/usr
mtree -deU ${MTREE_FOLLOWS_SYMLINKS} -f ${.CURDIR}/mtree/BSD.include.dist \
-p ${DESTDIR}/usr/include
mtree -deU -f ${.CURDIR}/mtree/BSD.include.dist \
mtree -deU ${MTREE_FOLLOWS_SYMLINKS} -f ${.CURDIR}/mtree/BSD.include.dist \
-p ${DESTDIR}/usr/libdata/perl/5.6.0/mach
cd ${DESTDIR}/; rm -f ${DESTDIR}/sys; ln -s usr/src/sys sys
cd ${DESTDIR}/usr/share/locale; \

View File

@ -43,6 +43,9 @@ BDECFLAGS= -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \
# Compare before install
#INSTALL=install -C
#
# Mtree will follow symlinks
MTREE_FOLLOWS_SYMLINKS= -L
#
# To enable building enstalling suidperl with the setuid bit turned on
#ENABLE_SUIDPERL= true
#

View File

@ -43,6 +43,9 @@ BDECFLAGS= -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \
# Compare before install
#INSTALL=install -C
#
# Mtree will follow symlinks
MTREE_FOLLOWS_SYMLINKS= -L
#
# To enable building enstalling suidperl with the setuid bit turned on
#ENABLE_SUIDPERL= true
#