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

Merged in james-duley/librepilot/LP-185_fix_deb_dist (pull request #127)

LP-185 fix debian dist detection in packaging
This commit is contained in:
James Duley 2015-11-26 22:01:11 +00:00
commit 01d43ff7b4

View File

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