diff --git a/build/makefile_base.mak b/build/makefile_base.mak index fcd2a042..b085d88a 100644 --- a/build/makefile_base.mak +++ b/build/makefile_base.mak @@ -1,6 +1,5 @@ # TODO Missing vs build_proton -# - Package/tarball step # - setup_wine_gecko ## @@ -115,6 +114,7 @@ TOOLS_DIR32 := ./obj-tools32 TOOLS_DIR64 := ./obj-tools64 DST_BASE := ./dist DST_DIR := $(DST_BASE)/dist +DEPLOY_DIR := ./deploy # TODO Release/debug configuration INSTALL_PROGRAM_FLAGS := @@ -271,6 +271,11 @@ dist: $(DIST_TARGETS) | $(WINE_OUT) $(filter $(MAKECMDGOALS),wine64 wine32 wine) WINEPREFIX=$(abspath $(DIST_PREFIX)) $(WINE_OUT_BIN) wineboot && \ WINEPREFIX=$(abspath $(DIST_PREFIX)) $(WINE_OUT_SERVER) -w +deploy: dist + mkdir -p $(DEPLOY_DIR) && \ + cp -a $(DEPLOY_COPY_TARGETS) $(DEPLOY_DIR) && \ + tar -C $(DST_DIR) -c . | gzip -c -1 > $(DEPLOY_DIR)/proton_dist.tar.gz + install: dist if [ ! -d $(STEAM_DIR) ]; then echo >&2 "!! "$(STEAM_DIR)" does not exist, cannot install"; return 1; fi mkdir -p $(STEAM_DIR)/compatibilitytools.d/$(BUILD_NAME)