mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-01-15 08:08:18 +03:00
proton: Clean up dist/redist rules.
This commit is contained in:
parent
2f851ecb82
commit
89e4e160ac
13
Makefile.in
13
Makefile.in
@ -1042,15 +1042,6 @@ all-dist: $(DIST_COPY_TARGETS)
|
|||||||
all-dist:
|
all-dist:
|
||||||
echo `date '+%s'` `GIT_DIR=$(abspath $(SRCDIR)/.git) git describe --tags` > $(DIST_VERSION)
|
echo `date '+%s'` `GIT_DIR=$(abspath $(SRCDIR)/.git) git describe --tags` > $(DIST_VERSION)
|
||||||
|
|
||||||
DIST_TARGETS := $(DIST_COPY_TARGETS) $(DIST_OVR32) $(DIST_OVR64) \
|
|
||||||
$(DIST_GECKO32) $(DIST_GECKO64) $(DIST_WINEMONO) \
|
|
||||||
$(DIST_COMPAT_MANIFEST) $(DIST_LICENSE) $(DIST_TOOLMANIFEST) \
|
|
||||||
$(DIST_OFL_LICENSE) $(DIST_AV1_PATENTS) $(DIST_FONTS)
|
|
||||||
|
|
||||||
DEPLOY_COPY_TARGETS := $(DIST_COPY_TARGETS) $(DIST_VERSION) $(DIST_LICENSE) \
|
|
||||||
$(DIST_TOOLMANIFEST) $(DIST_OFL_LICENSE) $(DIST_AV1_PATENTS)
|
|
||||||
REDIST_COPY_TARGETS := $(DEPLOY_COPY_TARGETS) $(DIST_COMPAT_MANIFEST)
|
|
||||||
|
|
||||||
|
|
||||||
##
|
##
|
||||||
## make deploy
|
## make deploy
|
||||||
@ -1059,7 +1050,7 @@ REDIST_COPY_TARGETS := $(DEPLOY_COPY_TARGETS) $(DIST_COMPAT_MANIFEST)
|
|||||||
.PHONY: deploy
|
.PHONY: deploy
|
||||||
deploy: all
|
deploy: all
|
||||||
mkdir -p $(DEPLOY_DIR) && \
|
mkdir -p $(DEPLOY_DIR) && \
|
||||||
rsync --delete --exclude dist --exclude compatibilitytool.vdf -arx $(DST_BASE)/ $(DEPLOY_DIR) && \
|
rsync --delete --exclude dist --exclude compatibilitytool.vdf -arx $(DST_BASE)/ $(DEPLOY_DIR)
|
||||||
tar -C $(DST_DIR) -c . > $(DEPLOY_DIR)/proton_dist.tar
|
tar -C $(DST_DIR) -c . > $(DEPLOY_DIR)/proton_dist.tar
|
||||||
@echo "Created deployment archive at "$(DEPLOY_DIR)"/proton_dist.tar"
|
@echo "Created deployment archive at "$(DEPLOY_DIR)"/proton_dist.tar"
|
||||||
|
|
||||||
@ -1071,7 +1062,7 @@ deploy: all
|
|||||||
.PHONY: redist
|
.PHONY: redist
|
||||||
redist: all
|
redist: all
|
||||||
mkdir -p $(REDIST_DIR)
|
mkdir -p $(REDIST_DIR)
|
||||||
rsync --delete --exclude dist -arx $(REDIST_COPY_TARGETS) $(REDIST_DIR)
|
rsync --delete --exclude dist -arx $(DST_BASE)/ $(REDIST_DIR)
|
||||||
tar -C $(DST_DIR) -c . | gzip -c -1 > $(REDIST_DIR)/proton_dist.tar.gz
|
tar -C $(DST_DIR) -c . | gzip -c -1 > $(REDIST_DIR)/proton_dist.tar.gz
|
||||||
@echo "Created redistribution tarball at "$(REDIST_DIR)"/proton_dist.tar.gz"
|
@echo "Created redistribution tarball at "$(REDIST_DIR)"/proton_dist.tar.gz"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user