mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
[OP-759] Latest dpkg-buildpackage does not accept non-numeric version
This commit is contained in:
parent
55b35543a7
commit
e9b7db82b4
@ -10,7 +10,7 @@ VERSION_FULL := $(VERNUM)-$(PACKAGE_LBL)
|
|||||||
DEB_BUILD_DIR := $(ROOT_DIR)/debian
|
DEB_BUILD_DIR := $(ROOT_DIR)/debian
|
||||||
|
|
||||||
SED_DATE_STRG = $(shell date -R)
|
SED_DATE_STRG = $(shell date -R)
|
||||||
SED_SCRIPT = s/<VERSION>/$(PACKAGE_LBL)/;s/<DATE>/$(SED_DATE_STRG)/
|
SED_SCRIPT = s/<VERSION>/$(VERNUM)/;s/<DATE>/$(SED_DATE_STRG)/
|
||||||
|
|
||||||
DEB_CFG_CMN := $(ROOT_DIR)/package/linux/deb_common
|
DEB_CFG_CMN := $(ROOT_DIR)/package/linux/deb_common
|
||||||
DEB_CFG_I386_DIR := $(ROOT_DIR)/package/linux/deb_i386
|
DEB_CFG_I386_DIR := $(ROOT_DIR)/package/linux/deb_i386
|
||||||
@ -28,7 +28,7 @@ DEB_PLATFORM := i386
|
|||||||
DEB_MACHINE_DIR := $(DEB_CFG_I386_DIR)
|
DEB_MACHINE_DIR := $(DEB_CFG_I386_DIR)
|
||||||
DEB_MACHINE_FILES := $(DEB_CFG_I386_FILES)
|
DEB_MACHINE_FILES := $(DEB_CFG_I386_FILES)
|
||||||
endif
|
endif
|
||||||
DEB_PACKAGE_NAME := openpilot_$(PACKAGE_LBL)_$(DEB_PLATFORM)
|
DEB_PACKAGE_NAME := openpilot_$(VERNUM)_$(DEB_PLATFORM)
|
||||||
FULL_PACKAGE_NAME := $(PACKAGE_NAME)$(PACKAGE_SEP)$(PACKAGE_LBL)$(PACKAGE_SEP)$(DEB_PLATFORM)
|
FULL_PACKAGE_NAME := $(PACKAGE_NAME)$(PACKAGE_SEP)$(PACKAGE_LBL)$(PACKAGE_SEP)$(DEB_PLATFORM)
|
||||||
|
|
||||||
ALL_DEB_FILES = $(foreach f, $(DEB_CFG_CMN_FILES), $(DEB_BUILD_DIR)/$(f))
|
ALL_DEB_FILES = $(foreach f, $(DEB_CFG_CMN_FILES), $(DEB_BUILD_DIR)/$(f))
|
||||||
|
Loading…
Reference in New Issue
Block a user