diff options
author | Simon Josefsson <simon@josefsson.org> | 2008-08-05 23:47:59 +0200 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2008-08-05 23:47:59 +0200 |
commit | 5e0c220e6e91409b5e42842da2317a4f8e58235e (patch) | |
tree | 19ad90933e24045d6104271df0cba4d3d0253f35 /GNUmakefile | |
parent | 6354d210eab03cab7f44c1c897e4df2ff5c4bbc3 (diff) | |
download | gnutls-5e0c220e6e91409b5e42842da2317a4f8e58235e.tar.gz |
Update gnulib files.
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/GNUmakefile b/GNUmakefile index 8b64c49dd9..7635e8dc58 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -63,20 +63,20 @@ ifeq ($(_have-git-version-gen)0,yes$(MAKELEVEL)) 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)) - endif + 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 |