1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-30 15:52:12 +01:00

OP-1695 Ubuntu PPA: made .gz a make target

This commit is contained in:
James Duley 2015-02-10 18:47:35 +13:00
parent 2431aa8baa
commit 86dfdb7763

View File

@ -892,8 +892,8 @@ DIST_VER_INFO := $(DIST_DIR)/version-info.json
$(DIST_VER_INFO): $(DIST_DIR) $(DIST_VER_INFO): $(DIST_DIR)
$(V1) $(VERSION_INFO) --jsonpath="$(DIST_DIR)" $(V1) $(VERSION_INFO) --jsonpath="$(DIST_DIR)"
.PHONY: dist
dist: $(DIST_DIR) $(DIST_VER_INFO) $(DIST_NAME).gz: $(DIST_DIR) $(DIST_VER_INFO)
@$(ECHO) " SOURCE FOR DISTRIBUTION $(call toprel, $(DIST_NAME).gz)" @$(ECHO) " SOURCE FOR DISTRIBUTION $(call toprel, $(DIST_NAME).gz)"
$(V1) git archive --prefix="OpenPilot/" -o "$(DIST_NAME)" HEAD $(V1) git archive --prefix="OpenPilot/" -o "$(DIST_NAME)" HEAD
$(V1) tar --append --file="$(DIST_NAME)" \ $(V1) tar --append --file="$(DIST_NAME)" \
@ -901,6 +901,8 @@ dist: $(DIST_DIR) $(DIST_VER_INFO)
$(call toprel, "$(DIST_VER_INFO)") $(call toprel, "$(DIST_VER_INFO)")
$(V1) gzip -f "$(DIST_NAME)" $(V1) gzip -f "$(DIST_NAME)"
.PHONY: dist
dist: $(DIST_NAME).gz
############################## ##############################
# #