From e45929260cd902036efd40c5610a8d0a50d5712b Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Sat, 23 Oct 2010 17:25:52 +0300 Subject: Build: Fix mydist rule when .git doesn't exist. --- Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.am b/Makefile.am index 809197e8..91c7c085 100644 --- a/Makefile.am +++ b/Makefile.am @@ -79,6 +79,7 @@ dist-hook: # This works with GNU tar and gives cleaner package than normal 'make dist'. mydist: + VERSION=$(VERSION); \ if test -d "$(srcdir)/.git" && type git > /dev/null 2>&1; then \ SNAPSHOT=`cd "$(srcdir)" && git describe --abbrev=4 | cut -b2-`; \ test -n "$$SNAPSHOT" && VERSION=$$SNAPSHOT; \ -- cgit v1.2.3