mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-04-11 03:02:20 +02: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:
commit
01d43ff7b4
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user