summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2005-02-11 15:59:41 +0000
committertv <tv@pkgsrc.org>2005-02-11 15:59:41 +0000
commitc0a3d0489f781d2b315eaac7f88d12288f3e0db1 (patch)
tree79b16a1be075109588d2e6a367a12ba941a93b6c
parent5655fbe984b6d3147f465e6bbbbcc589ddf77e70 (diff)
downloadpkgsrc-c0a3d0489f781d2b315eaac7f88d12288f3e0db1.tar.gz
Cleanup from tv-derecurse:
There's no need to check for a do-tools target; nothing should override it. Vertically consolidate the dependency.
-rw-r--r--mk/tools.mk10
1 files changed, 3 insertions, 7 deletions
diff --git a/mk/tools.mk b/mk/tools.mk
index c05b5b485cb..7fef938af27 100644
--- a/mk/tools.mk
+++ b/mk/tools.mk
@@ -1,4 +1,4 @@
-# $NetBSD: tools.mk,v 1.51 2005/02/09 22:10:19 gavan Exp $
+# $NetBSD: tools.mk,v 1.52 2005/02/11 15:59:41 tv Exp $
#
# This Makefile creates a ${TOOLS_DIR} directory and populates the bin
# subdir with tools that hide the ones outside of ${TOOLS_DIR}.
@@ -17,13 +17,9 @@ PREPEND_PATH+= ${TOOLS_DIR}/bin
TOOLS_SHELL?= ${SH}
_TOOLS_WRAP_LOG= ${WRKLOG}
-.PHONY: do-tools
-.if !target(do-tools)
+.PHONY: do-tools override-tools
do-tools: override-tools
-.endif
-
-.PHONY: override-tools
-override-tools: # empty
+override-tools: .OPTIONAL
# Create shell scripts in ${TOOLS_DIR}/bin that simply return an error
# status for each of the GNU auto* tools, which should cause GNU configure