In the includes target, call the header install target explicitly and then

call the 'symlinks' target to build the /usr/obj/tmp/install/sys tree since
In the includes target, call the header install target explicitly and then
call the 'symlinks' target to build the /usr/obj/tmp/install/sys tree since
we set this up manually earlier, and if we do a 'make all install', we
replace the symlink tree in the obj dirs with new copies of the files
which breaks any chance of -DNOCLEAN working.
This commit is contained in:
Peter Wemm 1997-08-18 06:44:44 +00:00
parent ef75e7acaa
commit 1dd53538bc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=28357

View File

@ -1,5 +1,5 @@
#
# $Id: Makefile,v 1.134 1997/08/12 10:12:56 asami Exp $
# $Id: Makefile,v 1.135 1997/08/17 21:14:22 andreas Exp $
#
# Make command line options:
# -DCLOBBER will remove /usr/include
@ -441,7 +441,7 @@ includes:
mtree -deU -f ${.CURDIR}/etc/mtree/BSD.include.dist \
-p ${DESTDIR}/usr/include
.endif
cd ${.CURDIR}/include && ${MAKE} all install
cd ${.CURDIR}/include && ${MAKE} all installhdrs symlinks
cd ${.CURDIR}/gnu/include && ${MAKE} install
cd ${.CURDIR}/gnu/lib/libreadline && ${MAKE} beforeinstall
cd ${.CURDIR}/gnu/lib/libregex && ${MAKE} beforeinstall