summaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2007-10-28 15:53:59 +0100
committerJim Meyering <meyering@redhat.com>2007-10-28 15:54:44 +0100
commit68c33a103d3f493171b1d9e1094726a4d65e31c9 (patch)
treec2b3eda820f54c473c4acb4187f02184d72ca3fe /GNUmakefile
parent6555874879ea0cb8665fca8d2feb10cf8262d49b (diff)
downloadcoreutils-68c33a103d3f493171b1d9e1094726a4d65e31c9.tar.xz
Run autoreconf, not just autoconf, to avoid warnings.
* GNUmakefile (dummy): Otherwise, we'd sometimes get a warning about autoconf version mismatch between what was used to generate aclocal.m4 and the currently-running autoconf.
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/GNUmakefile b/GNUmakefile
index e270e6379..3dc6f1541 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -41,14 +41,14 @@ export TAR_OPTIONS = --owner=0 --group=0 --numeric-owner
include Makefile
# Ensure that $(VERSION) is up to date for dist-related targets, but not
-# for others: rerunning autoconf and recompiling everything isn't cheap.
+# for others: running autoreconf and recompiling everything isn't cheap.
ifeq (0,$(MAKELEVEL))
_is-dist-target = $(filter dist% alpha beta major,$(MAKECMDGOALS))
ifneq (,$(_is-dist-target))
_curr-ver := $(shell build-aux/git-version-gen .version)
ifneq ($(_curr-ver),$(VERSION))
- $(info INFO: rerunning autoconf for new version string: $(_curr-ver))
- dummy := $(shell rm -rf autom4te.cache; $(AUTOCONF))
+ $(info INFO: running autoreconf for new version string: $(_curr-ver))
+ dummy := $(shell rm -rf autom4te.cache; autoreconf)
endif
endif
endif