diff options
author | Eric Blake <ebb9@byu.net> | 2008-06-18 22:33:37 -0600 |
---|---|---|
committer | Eric Blake <ebb9@byu.net> | 2008-06-18 22:43:16 -0600 |
commit | 5f9c828ed31bd100bd3dc4356b644828a2b8fe68 (patch) | |
tree | 043539637c39ec476583bcbb38c766cf1eb25ba3 /top/GNUmakefile | |
parent | 640cd5a77a3e334811fe60f6bbc0ae215854b91a (diff) | |
download | gnulib-5f9c828ed31bd100bd3dc4356b644828a2b8fe68.tar.gz |
Fix VPATH 'make dist' with GNU make and non-VCS tarball.
* top/GNUmakefile (_curr-ver): Don't use $(srcdir) unnecessarily.
Reported by Stepan Kasal.
Signed-off-by: Eric Blake <ebb9@byu.net>
Diffstat (limited to 'top/GNUmakefile')
-rw-r--r-- | top/GNUmakefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/top/GNUmakefile b/top/GNUmakefile index 062900b547..31bd873fad 100644 --- a/top/GNUmakefile +++ b/top/GNUmakefile @@ -56,8 +56,8 @@ ifeq ($(_have-git-version-gen)0,yes$(MAKELEVEL)) _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) |