From 1e561a8bc008904882296ba335a9edd56aa7b42f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Bernon?= Date: Fri, 2 Apr 2021 12:12:50 +0200 Subject: [PATCH] build: Split non-vagrant commands from install rule. --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 1f68b553..e0d6ba5c 100644 --- a/Makefile +++ b/Makefile @@ -120,9 +120,11 @@ proton: configure vagrant ssh -c 'make -C $(BUILD_DIR)/ $(UNSTRIPPED) $(CCACHE_FLAG) dist' echo "Proton built in VM. Use 'install' or 'deploy' targets to retrieve the build." -install: | vagrant_share/compatibilitytools.d/$(_build_name) -install: configure +install-internal: | vagrant_share/compatibilitytools.d/$(_build_name) +install-internal: configure vagrant ssh -c 'make -C $(BUILD_DIR)/ $(UNSTRIPPED) $(CCACHE_FLAG) STEAM_DIR=/vagrant/ install' + +install: install-internal mkdir -p $(STEAM_DIR)/compatibilitytools.d/ cp -Rf --no-dereference --preserve=mode,links vagrant_share/compatibilitytools.d/$(_build_name) $(STEAM_DIR)/compatibilitytools.d/ echo "Proton installed to your local Steam installation"