Pass command line args to 'buildworld' and 'installworld' etc. Otherwise

'make -DNOCLEAN world' is completely ignored.
This commit is contained in:
peter 1997-08-18 06:54:18 +00:00
parent 2528a5618e
commit b224a05842

View File

@ -1,5 +1,5 @@
# #
# $Id: Makefile,v 1.135 1997/08/17 21:14:22 andreas Exp $ # $Id: Makefile,v 1.136 1997/08/18 06:44:44 peter Exp $
# #
# Make command line options: # Make command line options:
# -DCLOBBER will remove /usr/include # -DCLOBBER will remove /usr/include
@ -144,16 +144,16 @@ world:
@echo "--------------------------------------------------------------" @echo "--------------------------------------------------------------"
@echo " Making 'pre-world' target" @echo " Making 'pre-world' target"
@echo "--------------------------------------------------------------" @echo "--------------------------------------------------------------"
cd ${.CURDIR} && ${MAKE} pre-world cd ${.CURDIR} && ${MAKE} ${.MAKEFLAGS} pre-world
.endif .endif
cd ${.CURDIR} && ${MAKE} buildworld cd ${.CURDIR} && ${MAKE} ${.MAKEFLAGS} buildworld
cd ${.CURDIR} && ${MAKE} installworld cd ${.CURDIR} && ${MAKE} ${.MAKEFLAGS} installworld
.if target(post-world) .if target(post-world)
@echo @echo
@echo "--------------------------------------------------------------" @echo "--------------------------------------------------------------"
@echo " Making 'post-world' target" @echo " Making 'post-world' target"
@echo "--------------------------------------------------------------" @echo "--------------------------------------------------------------"
cd ${.CURDIR} && ${MAKE} post-world cd ${.CURDIR} && ${MAKE} ${.MAKEFLAGS} post-world
.endif .endif
@echo @echo
@echo "--------------------------------------------------------------" @echo "--------------------------------------------------------------"