summaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-06-07 16:36:36 +0200
committerSimon Josefsson <simon@josefsson.org>2008-06-07 16:36:36 +0200
commit6a7057dd9f3d9dc91c8ca2033b97a694fc228ed1 (patch)
treebc2404f332d2018c073ae00a1094de63ce16ebaf /GNUmakefile
parentf1cccbd6f79f903b2b0740ca35343ea1a74bb66d (diff)
downloadgnutls-6a7057dd9f3d9dc91c8ca2033b97a694fc228ed1.tar.gz
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 0c1bc38afb..062900b547 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -59,9 +59,13 @@ ifeq ($(_have-git-version-gen)0,yes$(MAKELEVEL))
_curr-ver := $(shell cd $(srcdir) && ./$(_build-aux)/git-version-gen \
$(srcdir)/.tarball-version)
ifneq ($(_curr-ver),$(VERSION))
- $(info INFO: running autoreconf for new version string: $(_curr-ver))
- _dummy := $(shell cd $(srcdir) && rm -rf autom4te.cache .version \
- && $(_autoreconf))
+ ifeq ($(_curr-ver),UNKNOWN)
+ $(info WARNING: unable to verify if $(VERSION) is correct version)
+ 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