diff options
author | jlam <jlam@pkgsrc.org> | 2004-02-11 01:07:37 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-02-11 01:07:37 +0000 |
commit | eb75bc26218ee0405f5319964cbbfe668823b6d1 (patch) | |
tree | 92d370368b57d8d17a67a6e53d7a37d120f8e826 /mk | |
parent | 1b6930cc73282541ded31e6c6c7b3dbf8a98d0d0 (diff) | |
download | pkgsrc-eb75bc26218ee0405f5319964cbbfe668823b6d1.tar.gz |
Defer creating the auto* stubs until just before we enter the build phase.
This allows any autoconf/automake we execute at pre-configure time to find
its own scripts, yet still prevents "make build" from clobbering any
changes we may have made.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/tools.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mk/tools.mk b/mk/tools.mk index 357dec7547f..95f337fcd9a 100644 --- a/mk/tools.mk +++ b/mk/tools.mk @@ -1,4 +1,4 @@ -# $NetBSD: tools.mk,v 1.25 2004/02/06 04:37:02 jlam Exp $ +# $NetBSD: tools.mk,v 1.26 2004/02/11 01:07:37 jlam Exp $ # # This Makefile creates a ${TOOLS_DIR} directory and populates the bin # subdir with tools that hide the ones outside of ${TOOLS_DIR}. @@ -53,9 +53,11 @@ _HIDE_PROGS.automake= bin/aclocal bin/aclocal-1.4 \ bin/automake-1.8 .if empty(AUTOMAKE_OVERRIDE:M[nN][oO]) +.PHONY: pre-build override-autotools +pre-build: override-autotools . for _autotool_ in autoconf automake . for _prog_ in ${_HIDE_PROGS.${_autotool_}} -override-tools: ${TOOLS_DIR}/${_prog_} +override-autotools: ${TOOLS_DIR}/${_prog_} ${TOOLS_DIR}/${_prog_}: ${_GNU_MISSING} ${_PKG_SILENT}${_PKG_DEBUG}${MKDIR} ${.TARGET:H} ${_PKG_SILENT}${_PKG_DEBUG} \ |