2007-09-03 Jim Meyering <jim@meyering.net>
+ Invoke $(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".
+
Don't change '-'s to '.'s in the string from git-describe.
* build-aux/git-version-gen: Leave '-'s in the string from git-describe.
Otherwise, s/-/./g would make it too hard to distinguish the base
# 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
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