From: Jim Meyering Date: Sun, 2 Mar 2008 15:24:52 +0000 (+0100) Subject: Adjust so that non-srcdir "make dist" works, too. X-Git-Tag: v6.11~105 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b4be7564028e7b3f1423b45e7e01133aaeb47349;p=platform%2Fupstream%2Fcoreutils.git Adjust so that non-srcdir "make dist" works, too. * GNUmakefile: Add $(srcdir)/ prefix to git-version-gen and argument. --- diff --git a/GNUmakefile b/GNUmakefile index f5aa6c4..f8aad63 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -47,7 +47,8 @@ _curr-ver := $(VERSION) ifeq (0,$(MAKELEVEL)) _is-dist-target = $(filter dist% alpha beta major,$(MAKECMDGOALS)) ifneq (,$(_is-dist-target)) - _curr-ver := $(shell build-aux/git-version-gen .tarball-version) + _curr-ver := $(shell $(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 rm -rf autom4te.cache; autoreconf)