summaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2007-09-03 10:52:49 +0200
committerJim Meyering <jim@meyering.net>2007-09-03 11:22:20 +0200
commit4055cd5a2679bc625c4dde7bce941461481ea8b0 (patch)
tree473fb5f4ff05128193c4fdbda664a6774379ed44 /GNUmakefile
parentd0bd493a2a1d6a0c80d5b29a0e135592544bef07 (diff)
downloadcoreutils-4055cd5a2679bc625c4dde7bce941461481ea8b0.tar.xz
Run autoconf manually, if needed to get an updated version string.
* GNUmakefile: Don't actually touch configure.ac. That would make git-version-gen always print "...-dirty".
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 92f989c2b..c5678b43d 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -4,7 +4,7 @@
# It is necessary if you want to build targets usually of interest
# only to the maintainer.
-# Copyright (C) 2001, 2003, 2006 Free Software Foundation, Inc.
+# Copyright (C) 2001, 2003, 2006-2007 Free Software Foundation, Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -47,8 +47,8 @@ ifeq (0,$(MAKELEVEL))
ifneq (,$(_is-dist-target))
_curr-ver := $(shell build-aux/git-version-gen 0 .version)
ifneq ($(_curr-ver),$(VERSION))
- $(info INFO: rerunning autoconf for new version string $(_curr-ver))
- $(shell touch configure.ac)
+ $(info INFO: rerunning autoconf for new version string: $(_curr-ver))
+ dummy := $(shell rm -rf autom4te.cache; $(AUTOCONF))
endif
endif
endif