mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-25 22:25:46 +03:00
Makefile.in: Bake in the vcs version into dxvk's version.h.in.
This commit is contained in:
parent
785757ec15
commit
f0b5a6fe97
@ -470,6 +470,11 @@ $(eval $(call rules-source,dxvk,$(SRCDIR)/dxvk))
|
||||
$(eval $(call rules-meson,dxvk,32,CROSS))
|
||||
$(eval $(call rules-meson,dxvk,64,CROSS))
|
||||
|
||||
$(OBJ)/.dxvk-post-source:
|
||||
sed -re 's#@VCS_TAG@#$(shell git -C $(SRCDIR)/dxvk describe --always --abbrev=15 --dirty=0)#' \
|
||||
$(SRCDIR)/dxvk/version.h.in > $(DXVK_SRC)/version.h.in
|
||||
touch $@
|
||||
|
||||
$(OBJ)/.dxvk-post-build64:
|
||||
mkdir -p "$(DST_DIR)"/lib64/wine/dxvk
|
||||
rm -f "$(DST_DIR)"/lib64/wine/dxvk/version && if test -e $(SRCDIR)/.git; then ( cd $(SRCDIR) && git submodule status -- dxvk ) > "$(DST_DIR)"/lib64/wine/dxvk/version; fi
|
||||
|
Loading…
Reference in New Issue
Block a user