+2008-06-19 Eric Blake <ebb9@byu.net>
+
+ Fix VPATH 'make dist' with GNU make and non-VCS tarball.
+ * top/GNUmakefile (_curr-ver): Don't use $(srcdir) unnecessarily.
+ Reported by Stepan Kasal.
+
2008-06-18 Bruno Haible <bruno@clisp.org>
* lib/fatal-signal.c (init_fatal_signals): Add comment.
_is-dist-target = $(filter-out %clean, \
$(filter maintainer-% dist% alpha beta major,$(MAKECMDGOALS)))
ifneq (,$(_is-dist-target))
- _curr-ver := $(shell cd $(srcdir) && ./$(_build-aux)/git-version-gen \
- $(srcdir)/.tarball-version)
+ _curr-ver := $(shell cd $(srcdir) \
+ && $(_build-aux)/git-version-gen .tarball-version)
ifneq ($(_curr-ver),$(VERSION))
ifeq ($(_curr-ver),UNKNOWN)
$(info WARNING: unable to verify if $(VERSION) is correct version)