allow version without v (for real release)
This commit is contained in:
parent
c36ef2797b
commit
c0daa1d91e
|
@ -148,7 +148,7 @@ distcheck-hook: git-version-check
|
||||||
|
|
||||||
git-version-check:
|
git-version-check:
|
||||||
git_ver=`{ test -d $(top_srcdir)/.git && git --git-dir=$(top_srcdir)/.git describe 2> /dev/null; } || echo devel`; \
|
git_ver=`{ test -d $(top_srcdir)/.git && git --git-dir=$(top_srcdir)/.git describe 2> /dev/null; } || echo devel`; \
|
||||||
if test "x$${git_ver}" = "x$(PACKAGE_VERSION)"; then :; else \
|
if test "x$${git_ver}" = "x$(PACKAGE_VERSION)" -o "x$${git_ver}" = "xv${PACKAGE_VERSION}"; then :; else \
|
||||||
echo "ERROR: The PACKAGE_VERSION and the 'git describe' version do not match:"; \
|
echo "ERROR: The PACKAGE_VERSION and the 'git describe' version do not match:"; \
|
||||||
echo " current git version: $${git_ver}"; \
|
echo " current git version: $${git_ver}"; \
|
||||||
echo " current package version: $(PACKAGE_VERSION)"; \
|
echo " current package version: $(PACKAGE_VERSION)"; \
|
||||||
|
|
Loading…
Reference in New Issue