* top/GNUmakefile (_dummy): Warn rather than reconfigure if
git-version-gen fails to come up with a version.
Reported by Simon Josefsson.
Signed-off-by: Eric Blake <ebb9@byu.net>
+2008-06-05 Eric Blake <ebb9@byu.net>
+
+ Be tolerant of UNKNOWN version in gnulib-tool test dir.
+ * top/GNUmakefile (_dummy): Warn rather than reconfigure if
+ git-version-gen fails to come up with a version.
+ Reported by Simon Josefsson.
+
2008-06-05 Jim Meyering <meyering@redhat.com>
Paul Eggert <eggert@cs.ucla.edu>
_curr-ver := $(shell cd $(srcdir) && ./$(_build-aux)/git-version-gen \
$(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 .version \
- && $(_autoreconf))
+ ifeq ($(_curr-ver),UNKNOWN)
+ $(info WARNING: unable to verify if $(VERSION) is correct version)
+ else
+ $(info INFO: running autoreconf for new version string: $(_curr-ver))
+ _dummy := $(shell cd $(srcdir) && rm -rf autom4te.cache .version \
+ && $(_autoreconf))
+ endif
endif
endif
endif