summaryrefslogtreecommitdiff
path: root/top/GNUmakefile
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2008-04-03 16:31:30 -0600
committerEric Blake <ebb9@byu.net>2008-04-03 16:53:45 -0600
commit1a98f86fef7e1a212f453cfb09439f95f7606099 (patch)
tree951a690627c9926aac6715559a560371769ef106 /top/GNUmakefile
parent95002d80002acb26000b3c20a2e1a3db929628ae (diff)
downloadgnulib-1a98f86fef7e1a212f453cfb09439f95f7606099.tar.gz
Ensure sane .version contents.
* top/GNUmakefile (_dummy): Also delete .version when rebuilding version string. * build-aux/git-version-gen: Improve documentation. Signed-off-by: Eric Blake <ebb9@byu.net>
Diffstat (limited to 'top/GNUmakefile')
-rw-r--r--top/GNUmakefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/top/GNUmakefile b/top/GNUmakefile
index bba62438bc..0c1bc38afb 100644
--- a/top/GNUmakefile
+++ b/top/GNUmakefile
@@ -60,7 +60,8 @@ ifeq ($(_have-git-version-gen)0,yes$(MAKELEVEL))
$(srcdir)/.tarball-version)
ifneq ($(_curr-ver),$(VERSION))
$(info INFO: running autoreconf for new version string: $(_curr-ver))
- _dummy := $(shell cd $(srcdir) && rm -rf autom4te.cache && $(_autoreconf)))
+ _dummy := $(shell cd $(srcdir) && rm -rf autom4te.cache .version \
+ && $(_autoreconf))
endif
endif
endif