When bootstrapping lex, the object directory for lex/lib would be deleted

without being recreated.  A read-only source compile would then fail shortly
afterwards trying to write .depend into the source tree.
This commit is contained in:
Stephen McKay 1997-09-28 16:25:28 +00:00
parent a2575e01e8
commit 1e1ff62149
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=29938

View File

@ -1,5 +1,5 @@
#
# $Id$
# $Id: Makefile,v 1.147 1997/09/28 09:26:05 markm Exp $
#
# Make command line options:
# -DCLOBBER will remove /usr/include
@ -427,7 +427,10 @@ bootstrap:
cd ${.CURDIR}/usr.bin/xinstall && ${MAKE} depend && \
${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR}
cd ${.CURDIR}/usr.bin/lex && ${MAKE} bootstrap && ${MAKE} depend && \
${MAKE} ${MK_FLAGS} -DNOLIB all install ${CLEANDIR} ${OBJDIR}
${MAKE} ${MK_FLAGS} -DNOLIB all install ${CLEANDIR}
.if !defined(NOOBJDIR)
cd ${.CURDIR}/usr.bin/lex && ${MAKE} obj
.endif
#
# include-tools - generally the same as 'bootstrap', except that it's for