From c0daa1d91e6b0637995b56e6aeb28df757a50a07 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Sat, 12 Jan 2008 13:50:44 +0100 Subject: [PATCH] allow version without v (for real release) --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index f8c44c0e..2a85c791 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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)"; \