summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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