From 23cdb57144ed4f9821e8428ce669519e88865b1c Mon Sep 17 00:00:00 2001 From: John Schoenick Date: Mon, 20 Aug 2018 17:06:49 -0700 Subject: [PATCH] makefile_base.mak: Install openvr_api_dll in the dist step --- build/makefile_base.mak | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/build/makefile_base.mak b/build/makefile_base.mak index e8285aa7..96e7d1f3 100644 --- a/build/makefile_base.mak +++ b/build/makefile_base.mak @@ -149,10 +149,18 @@ all64_configure: $(addsuffix 64_configure,$(GOAL_TARGETS)) DIST_COPY_FILES := toolmanifest.vdf filelock.py proton user_settings.sample.py DIST_COPY_TARGETS := $(addprefix $(DST_DIR)/,$(DIST_SRC_FILES)) DIST_VERSION := $(DST_DIR)/version +DIST_OVR32 := $(DST_DIR)/lib/wine/dxvk/openvr_api_dxvk.dll +DIST_OVR64 := $(DST_DIR)/lib64/wine/dxvk/openvr_api_dxvk.dll DIST_PREFIX := $(DST_DIR)/share/default_pfx/ DIST_COMPAT_MANIFEST := $(DST_DIR)/compatibilitytool.vdf -DIST_TARGETS := $(DIST_COPY_TARGETS) $(DIST_VERSION) $(DIST_COMPAT_MANIFEST) +DIST_TARGETS := $(DIST_COPY_TARGETS) $(DIST_VERSION) $(DIST_OVR32) $(DIST_OVR64) $(DIST_COMPAT_MANIFEST) + +$(DIST_OVR32): $(SRCDIR)/openvr/bin/win32/openvr_api.dll + cp -a $< $@ + +$(DIST_OVR64): $(SRCDIR)/openvr/bin/win64/openvr_api.dll + cp -a $< $@ $(DIST_COPY_TARGETS): cp -a $(SRCDIR)/$(notdir $@) $@