From 53da2c99407eee1da8da6eb0836073422843b632 Mon Sep 17 00:00:00 2001 From: Lionel Sambuc Date: Thu, 15 Nov 2012 13:54:53 +0100 Subject: [PATCH] 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 --- Makefile | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index aebdd2a51..96a897179 100644 --- a/Makefile +++ b/Makefile @@ -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 -- 2.44.0