From: Ralf Wildenhues Date: Sun, 2 Mar 2008 21:17:47 +0000 (+0100) Subject: Fix so that out-of-tree VPATH "make dist" works, too. X-Git-Tag: v6.11~103 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b22067a58289cd3eea50402b48ac51f323e77c22;p=thirdparty%2Fcoreutils.git Fix so that out-of-tree VPATH "make dist" works, too. * GNUmakefile: Add $(srcdir)/ prefix to git-version-gen and argument. --- diff --git a/GNUmakefile b/GNUmakefile index 9f4c73d5b0..49e41b7fff 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -47,7 +47,7 @@ _curr-ver := $(VERSION) ifeq (0,$(MAKELEVEL)) _is-dist-target = $(filter dist% alpha beta major,$(MAKECMDGOALS)) ifneq (,$(_is-dist-target)) - _curr-ver := $(shell $(srcdir)/build-aux/git-version-gen \ + _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))