Module: wine Branch: master Commit: d62b5c6cd98dc158f5982366005fdf06ba849db9 URL: http://source.winehq.org/git/wine.git/?a=commit;h=d62b5c6cd98dc158f598236600...
Author: Alexandre Julliard julliard@winehq.org Date: Mon Jan 15 13:02:00 2007 +0100
loader: Fix git-describe invocation to work with old git versions.
---
loader/Makefile.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/loader/Makefile.in b/loader/Makefile.in index f3e365f..2b3d457 100644 --- a/loader/Makefile.in +++ b/loader/Makefile.in @@ -68,7 +68,7 @@ clean:: $(RM) version.c version-stamp
version-stamp: dummy - (GIT_DIR=$(TOPSRCDIR)/.git git-describe 2>/dev/null || echo "wine-@PACKAGE_VERSION@") | sed -e 's/(.*)/const char wine_version[] = "\1";/' >$@ || ($(RM) $@ && exit 1) + (GIT_DIR=$(TOPSRCDIR)/.git git-describe HEAD 2>/dev/null || echo "wine-@PACKAGE_VERSION@") | sed -e 's/(.*)/const char wine_version[] = "\1";/' >$@ || ($(RM) $@ && exit 1)
version.c: version-stamp @cmp -s version-stamp $@ || cp version-stamp $@