summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-03-02 16:33:53 +0100
committerJim Meyering <meyering@redhat.com>2008-03-02 16:33:53 +0100
commitcce03822fc5b0a9ecc2fe58bd2ab66240fd0e2b1 (patch)
tree50bb4a1942f405081ccc0e1afe2c20e3293b6368
parentb4be7564028e7b3f1423b45e7e01133aaeb47349 (diff)
downloadcoreutils-cce03822fc5b0a9ecc2fe58bd2ab66240fd0e2b1.tar.xz
One more for non-srcdir "make dist".
* GNUmakefile: Also cd $(srcdir) before running autoreconf.
-rw-r--r--GNUmakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index f8aad63f8..9f4c73d5b 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