Adding back the world target, as well as a warning.

The 'world' target is a legacy target from the previous build system,
it is equivalent to the 'build' target in the netbsd build system.

A warning has been added to stop using it, but it still works as
expected.

Change-Id: I704a5c43d9775b6d66c15a43ba927ddb515aab80
This commit is contained in:
Lionel Sambuc 2012-11-15 13:54:53 +01:00
parent 2f5c1ee87d
commit 53da2c9940

View file

@ -268,6 +268,18 @@ includes-gnu: .PHONY includes-lib
START_TIME!= date
.if defined(__MINIX)
world: build .PHONY .MAKE
${MAKEDIRTARGET} . etcforce
@echo "WARNING: "
@echo "WARNING: The 'world' target is obsolete, please use 'build' instead."
@echo "WARNING: "
etcforce: .PHONY .MAKE
${MAKEDIRTARGET} etc install-etc-files DESTDIR=${DESTDIR:U/}
.endif # defiend(__MINIX)
build: .PHONY .MAKE
.if defined(BUILD_DONE)
@echo "Build already installed into ${DESTDIR}"
@ -295,7 +307,7 @@ distribution buildworld: .PHONY .MAKE
${MAKEDIRTARGET} . build NOPOSTINSTALL=1
${MAKEDIRTARGET} etc distribution INSTALL_DONE=1
.if defined(__MINIX)
${MAKEDIRTARGET} releasetools hdboot
${MAKEDIRTARGET} releasetools do-hdboot
.endif # defined(__MINIX)
.if defined(DESTDIR) && ${DESTDIR} != "" && ${DESTDIR} != "/"
${MAKEDIRTARGET} . postinstall-fix-obsolete