loader: Use plain binary name of git-describe to avoid junk in version output.
This commit is contained in:
parent
c0f9d369dc
commit
06566a5347
|
@ -61,7 +61,7 @@ clean::
|
||||||
$(RM) $(WINE_BINARIES) $(MODULE) version.c version-stamp
|
$(RM) $(WINE_BINARIES) $(MODULE) version.c version-stamp
|
||||||
|
|
||||||
version-stamp: dummy
|
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
|
version.c: version-stamp
|
||||||
@cmp -s version-stamp $@ || cp version-stamp $@
|
@cmp -s version-stamp $@ || cp version-stamp $@
|
||||||
|
|
Loading…
Reference in New Issue