loader: Use plain binary name of git-describe to avoid junk in version output.

This commit is contained in:
Saulius Krasuckas 2006-11-09 20:05:19 +02:00 committed by Alexandre Julliard
parent c0f9d369dc
commit 06566a5347
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ clean::
$(RM) $(WINE_BINARIES) $(MODULE) 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 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 $@