diff options
author | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2008-03-02 22:17:47 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-03-02 22:18:37 +0100 |
commit | b22067a58289cd3eea50402b48ac51f323e77c22 (patch) | |
tree | f0887ae0813d14d3c537dccc7ae78a34df3b3fed /GNUmakefile | |
parent | cce03822fc5b0a9ecc2fe58bd2ab66240fd0e2b1 (diff) | |
download | coreutils-b22067a58289cd3eea50402b48ac51f323e77c22.tar.xz |
Fix so that out-of-tree VPATH "make dist" works, too.
* GNUmakefile: Add $(srcdir)/ prefix to git-version-gen and argument.
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile index 9f4c73d5b..49e41b7ff 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)) |