1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-29 07:24:13 +01:00

OP-1695 Ubuntu PPA: add option to set debian distribution

This commit is contained in:
James Duley 2015-02-16 19:00:24 +13:00
parent c0c2e0b721
commit c23f7ec94c
2 changed files with 3 additions and 2 deletions

View File

@ -6,6 +6,7 @@ ifndef OPENPILOT_IS_COOL
$(error Top level Makefile must be used to build this target)
endif
DEB_DIST := unstable
# Instead of RELEASE-15.01-RC1 debian wants 15.01~RC1
UPSTREAM_VER := $(subst -,~,$(subst RELEASE-,,$(PACKAGE_LBL)))
DEB_REV := 1
@ -17,7 +18,7 @@ DEB_PACKAGE_NAME := $(DEB_NAME)_$(UPSTREAM_VER)-$(DEB_REV)_$(DEB_ARCH)
DEB_DIR := package/linux/debian
SED_DATE_STRG = $(shell date -R)
SED_SCRIPT = s/<VERSION>/$(UPSTREAM_VER)-$(DEB_REV)/;s/<DATE>/$(SED_DATE_STRG)/
SED_SCRIPT = s/<VERSION>/$(UPSTREAM_VER)-$(DEB_REV)/;s/<DATE>/$(SED_DATE_STRG)/;s/<DIST>/$(DEB_DIST)/
.PHONY: package

View File

@ -1,4 +1,4 @@
openpilot (<VERSION>) unstable; urgency=low
openpilot (<VERSION>) <DIST>; urgency=low
* Release from upstream Git (testing - unstable)