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:
parent
2431aa8baa
commit
86dfdb7763
6
Makefile
6
Makefile
@ -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
|
||||||
|
|
||||||
##############################
|
##############################
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user