diff options
author | mckay <mckay@FreeBSD.org> | 1997-09-28 16:25:28 +0000 |
---|---|---|
committer | mckay <mckay@FreeBSD.org> | 1997-09-28 16:25:28 +0000 |
commit | 878b67c48bb8f4add3f007bbf58f6c75cc52c657 (patch) | |
tree | 2600daac98985cf3d34607a137b2a8b76d353b55 /Makefile | |
parent | 2ff71b2b2174c8381b220f009215775dc016889f (diff) | |
download | FreeBSD-src-878b67c48bb8f4add3f007bbf58f6c75cc52c657.zip FreeBSD-src-878b67c48bb8f4add3f007bbf58f6c75cc52c657.tar.gz |
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.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 |