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:
parent
1f0d6f41bb
commit
84fbdf0802
@ -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…
Reference in New Issue
Block a user