Fixed bogotification of the lex bootstrap in rev.1.186 and the previous

commit - don't wander off to bootstrap mtree and include in the middle
of bootstrapping lex, and don't forget what we were doing and build
some lex obj dirs twice.
This commit is contained in:
Bruce Evans 1998-06-06 00:56:23 +00:00
parent c2a239ebc7
commit 9e3b9b4d1c

View File

@ -1,5 +1,5 @@
#
# $Id: Makefile,v 1.195 1998/06/04 12:02:52 jb Exp $
# $Id: Makefile,v 1.196 1998/06/05 16:50:45 jkh Exp $
#
# While porting to the another architecture include the bootstrap instead
# of the normal build.
@ -493,16 +493,16 @@ bootstrap:
cd ${.CURDIR}/usr.bin/lex; ${MAKE} bootstrap; \
${MAKE} ${MK_FLAGS} ${_DEPEND}; \
${MAKE} ${MK_FLAGS} -DNOLIB all; \
${MAKE} ${MK_FLAGS} -DNOLIB -B install ${CLEANDIR} ${OBJDIR}
${MAKE} ${MK_FLAGS} -DNOLIB -B install ${CLEANDIR}
.if !defined(NOOBJDIR)
cd ${.CURDIR}/usr.bin/lex; ${MAKE} ${OBJDIR}
.endif
cd ${.CURDIR}/usr.sbin/mtree; ${MAKE} ${MK_FLAGS} ${_DEPEND}; \
${MAKE} ${MK_FLAGS} all; \
${MAKE} ${MK_FLAGS} -B install ${CLEANDIR} ${OBJDIR}
.if defined(DESTDIR)
cd ${.CURDIR}/include && ${MAKE} copies
.endif
.if !defined(NOOBJDIR)
cd ${.CURDIR}/usr.bin/lex; ${MAKE} ${OBJDIR}
.endif
#
# include-tools - generally the same as 'bootstrap', except that it's for