1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00

LP-185 fix debian dist detection in packaging

This commit is contained in:
James Duley 2015-11-23 21:02:29 +00:00
parent 1f0d6f41bb
commit 84fbdf0802

View File

@ -1,7 +1,4 @@
# Get some info about the distro DEB_DIST := $(shell lsb_release -c -s)
-include /etc/lsb-release
DEB_DIST := $(DISTRIB_CODENAME)
# Instead of RELEASE-15.01-RC1 debian wants 15.01~RC1 # Instead of RELEASE-15.01-RC1 debian wants 15.01~RC1
UPSTREAM_VER := $(subst -,~,$(subst RELEASE-,,$(PACKAGE_LBL))) UPSTREAM_VER := $(subst -,~,$(subst RELEASE-,,$(PACKAGE_LBL)))
ifeq ($(DEB_DIST), unstable) # This should be set manually for a submission to Debian or similar ifeq ($(DEB_DIST), unstable) # This should be set manually for a submission to Debian or similar