From: Lionel Sambuc Date: Mon, 16 Sep 2013 11:42:15 +0000 (+0000) Subject: Prevent make -C gnu from installing files in / X-Git-Tag: v3.3.0~800 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/FAQ?a=commitdiff_plain;h=refs%2Fchanges%2F22%2F822%2F3;p=minix.git Prevent make -C gnu from installing files in / This is done by adding a dependency on ${GNUHOSTDIST:H}/.gitignore for both realall and realinstall targets. Change-Id: If086a6c02ab20a8cd4bbb3597d7203cf22dce796 --- diff --git a/gnu/dist/Makefile b/gnu/dist/Makefile index 8c83ba84e..3646a1a4c 100644 --- a/gnu/dist/Makefile +++ b/gnu/dist/Makefile @@ -8,7 +8,11 @@ MODULE= texinfo .include "${.CURDIR}/../../tools/Makefile.gnuhost" # Force the mapping to standard targets even when not building tools +# We considere work to be done as soon as the fetch step is done, +# as everything else has to be triggered from /tools or ../usr.bin + .if ${USETOOLS} != "yes" -realall: .build_done -realinstall: .install_done +realall realinstall: ${GNUHOSTDIST:H}/.gitignore + .endif +