summaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2007-11-13 08:56:32 +0100
committerJim Meyering <meyering@redhat.com>2007-11-13 08:56:32 +0100
commit48520ed2f778c6afb70ac2b4de8489b04d95f92f (patch)
treebb5e28b9ded13e7695f2db543bb3e3cad489d380 /GNUmakefile
parent610817462bbfcacab3df3b8ed678f7b4b31fe1ad (diff)
downloadautoconf-48520ed2f778c6afb70ac2b4de8489b04d95f92f.tar.gz
Adapt dependencies, now that a version change doesn't modify configure.ac
* GNUmakefile: Remove "make clean" kludge. * lib/m4sugar/Makefile.am (version.m4): Depend on Makefile, not configure.ac. Don't redirect directly to target. Use $@, not literal "version.m4".
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile3
1 files changed, 0 insertions, 3 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 841a9180..eca7b16d 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -45,8 +45,6 @@ include Makefile
# Ensure that $(VERSION) is up to date for dist-related targets, but not
# for others: rerunning autoconf and recompiling everything isn't cheap.
-# The $(MAKE) clean is required, to remove all traces of the previous
-# version string, which would otherwise cause a few test failures.
# Remove the autoreconf-provided INSTALL, so that we regenerate it.
ifeq (0,$(MAKELEVEL))
_is-dist-target = $(filter dist% alpha beta major,$(MAKECMDGOALS))
@@ -57,7 +55,6 @@ ifeq (0,$(MAKELEVEL))
dummy := $(shell \
rm -rf autom4te.cache; \
(cd $(srcdir) && autoreconf -i -v) \
- && $(MAKE) clean \
&& rm -f INSTALL)
endif
endif