summaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2007-11-03 10:27:02 +0100
committerJim Meyering <meyering@redhat.com>2007-11-03 19:15:13 +0100
commitf4208c7aa9ba5e95ca7746ce0bd307bb8553b3b8 (patch)
tree4da5adfa4d2cf6180110c8005a912beb6651a743 /GNUmakefile
parent249f9a38a8dfc2d03f556c06f9204df91bea2208 (diff)
downloadautoconf-f4208c7aa9ba5e95ca7746ce0bd307bb8553b3b8.tar.gz
Use just-built tools, when possible.
* GNUmakefile (PATH): Set and export here, ... (dummy): ... rather than here.
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 8dcefc57..79ad4920 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -38,6 +38,9 @@ ifeq ($(have-Makefile),yes)
# Make tar archive easier to reproduce.
export TAR_OPTIONS = --owner=0 --group=0 --numeric-owner
+# Build with our own versions of these tools, when possible.
+export PATH = '$(shell echo "`pwd`/tests:$$PATH")'
+
include Makefile
# Ensure that $(VERSION) is up to date for dist-related targets, but not
@@ -48,7 +51,7 @@ ifeq (0,$(MAKELEVEL))
_curr-ver := $(shell build-aux/git-version-gen .version)
ifneq ($(_curr-ver),$(VERSION))
$(info INFO: running autoreconf for new version string: $(_curr-ver))
- dummy := $(shell rm -rf autom4te.cache; PATH=`pwd`/tests:$$PATH; autoreconf -i)
+ dummy := $(shell rm -rf autom4te.cache; autoreconf -i)
endif
endif
endif