summaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-11-03 10:24:21 +0100
committerSimon Josefsson <simon@josefsson.org>2008-11-03 10:24:21 +0100
commita3577bd15ee66d37f025d014457c9d1751cd19ab (patch)
treee88bce49c71a95a9490524c475b27c40e2f72a15 /GNUmakefile
parent2fdda6dc8ae0053f72f1e21dcab781d9da81d172 (diff)
downloadlibtasn1-a3577bd15ee66d37f025d014457c9d1751cd19ab.tar.gz
libtasn1-a3577bd15ee66d37f025d014457c9d1751cd19ab.tar.bz2
libtasn1-a3577bd15ee66d37f025d014457c9d1751cd19ab.zip
Update gnulib files.
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 4b4cf15..0fdd3fa 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -71,17 +71,21 @@ ifeq ($(_have-git-version-gen)0,yes$(MAKELEVEL))
# 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)
+ $(info WARNING: version string $(VERSION) is out of date;)
+ $(info run '$(MAKE) _version' to fix it)
else
$(info INFO: running autoreconf for new version string: $(_curr-ver))
- _dummy := $(shell cd $(srcdir) && rm -rf autom4te.cache .version \
- && $(_autoreconf))
+ _dummy := $(shell $(MAKE) $(AM_MAKEFLAGS) _version)
endif
endif
endif
endif
endif
+.PHONY: _version
+_version:
+ cd $(srcdir) && rm -rf autom4te.cache .version && $(_autoreconf)
+
else
.DEFAULT_GOAL := abort-due-to-no-makefile