allow version without v (for real release)

This commit is contained in:
Julien Danjou 2008-01-12 13:50:44 +01:00
parent c36ef2797b
commit c0daa1d91e
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ distcheck-hook: 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`; \
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 " current git version: $${git_ver}"; \
echo " current package version: $(PACKAGE_VERSION)"; \