From cce03822fc5b0a9ecc2fe58bd2ab66240fd0e2b1 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 2 Mar 2008 16:33:53 +0100 Subject: [PATCH] One more for non-srcdir "make dist". * GNUmakefile: Also cd $(srcdir) before running autoreconf. --- GNUmakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index f8aad63f88..9f4c73d5b0 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -51,7 +51,7 @@ ifeq (0,$(MAKELEVEL)) $(srcdir)/.tarball-version) ifneq ($(_curr-ver),$(VERSION)) $(info INFO: running autoreconf for new version string: $(_curr-ver)) - _dummy := $(shell rm -rf autom4te.cache; autoreconf) + _dummy := $(shell rm -rf autom4te.cache; (cd $(srcdir) && autoreconf)) _created_version_file = 1 endif endif -- 2.47.3