pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk Cleanup from tv-derecurse:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e05e40d5bcf6
branches:  trunk
changeset: 488893:e05e40d5bcf6
user:      tv <tv%pkgsrc.org@localhost>
date:      Fri Feb 11 15:59:41 2005 +0000

description:
Cleanup from tv-derecurse:

There's no need to check for a do-tools target; nothing should override it.
Vertically consolidate the dependency.

diffstat:

 mk/tools.mk |  10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)

diffs (25 lines):

diff -r 11fba31cfac7 -r e05e40d5bcf6 mk/tools.mk
--- a/mk/tools.mk       Fri Feb 11 15:55:13 2005 +0000
+++ b/mk/tools.mk       Fri Feb 11 15:59:41 2005 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index