summaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2008-08-06 08:22:14 -0600
committerEric Blake <ebb9@byu.net>2008-08-06 08:22:14 -0600
commit418e7f89f3a87621bea9c40ee61f9aaceebef7b9 (patch)
tree6b8bd8e221d7280e681c6cbc2ce00893b3a42ae4 /GNUmakefile
parent22efb81e0aaad363d4b0f9fb6cfef80aa6e46f85 (diff)
downloadautoconf-418e7f89f3a87621bea9c40ee61f9aaceebef7b9.tar.gz
Update some files from upstream.
* GNUmakefile: Update. * build-aux/announce-gen: Likewise. * build-aux/config.guess: Likewise. * build-aux/config.sub: Likewise. * build-aux/git-version-gen: Likewise. * build-aux/texinfo.tex: Likewise. * build-aux/vc-list-files: Likewise. * doc/make-stds.texi: Likewise. * doc/standards.texi: Likewise. Signed-off-by: Eric Blake <ebb9@byu.net>
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile26
1 files changed, 14 insertions, 12 deletions
diff --git a/GNUmakefile b/GNUmakefile
index ea5e72c4..7635e8dc 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -62,19 +62,21 @@ ifeq ($(_have-git-version-gen)0,yes$(MAKELEVEL))
ifneq ($(_curr-ver),$(VERSION))
ifeq ($(_curr-ver),UNKNOWN)
$(info WARNING: unable to verify if $(VERSION) is correct version)
- else ifneq (,$(_is-install-target))
- # GNU Coding Standards state that 'make install' should not cause
- # recompilation after 'make all'. But as long as changing the version
- # string alters config.h, the cost of having 'make all' always have an
- # up-to-date version is prohibitive. So, as a compromise, we merely
- # warn when installing a version string that is out of date; the user
- # should run 'autoreconf' (or something like 'make distcheck') to
- # fix the version, 'make all' to propagate it, then 'make install'.
- $(info WARNING: version string $(VERSION) is out of date; run autoreconf -f to fix it)
else
- $(info INFO: running autoreconf for new version string: $(_curr-ver))
- _dummy := $(shell cd $(srcdir) && rm -rf autom4te.cache .version \
- && $(_autoreconf))
+ ifneq (,$(_is-install-target))
+ # GNU Coding Standards state that 'make install' should not cause
+ # recompilation after 'make all'. But as long as changing the version
+ # string alters config.h, the cost of having 'make all' always have an
+ # up-to-date version is prohibitive. So, as a compromise, we merely
+ # warn when installing a version string that is out of date; the user
+ # should run 'autoreconf' (or something like 'make distcheck') to
+ # fix the version, 'make all' to propagate it, then 'make install'.
+ $(info WARNING: version string $(VERSION) is out of date; run autoreconf -f to fix it)
+ else
+ $(info INFO: running autoreconf for new version string: $(_curr-ver))
+ _dummy := $(shell cd $(srcdir) && rm -rf autom4te.cache .version \
+ && $(_autoreconf))
+ endif
endif
endif
endif