From: Arun Kumar Pariyar Date: Mon, 18 May 2020 20:36:26 +0000 (+0545) Subject: removed VERSION param from dh_auto_configure X-Git-Tag: archive/raspbian/5.7.12-2+rpi1^2~78 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f9bb76089045eb1dea195f8cc42df65e8ce39d54;p=dtkcore.git removed VERSION param from dh_auto_configure --- diff --git a/debian/rules b/debian/rules index 4eb3c63..1654bec 100755 --- a/debian/rules +++ b/debian/rules @@ -17,24 +17,11 @@ include /usr/share/dpkg/buildflags.mk include /usr/share/dpkg/architecture.mk -ifneq (,$(wildcard .git/config)) - CONFIG_VERSION= -else -VERSION = $(DEB_VERSION_UPSTREAM) -_PACK_VER = $(shell echo $(VERSION) | awk -F'[+_~-]' '{print $$1}') -_BUILD_VER = $(shell echo $(VERSION) | awk -F'[+_~-]' '{print $$2}' | sed 's/[^0-9]//g') -ifeq ($(_BUILD_VER),) - CONFIG_VERSION = $(_PACK_VER) -else - CONFIG_VERSION = $(_PACK_VER).$(_BUILD_VER) -endif -endif - %: dh $@ override_dh_auto_configure: - dh_auto_configure -- LIB_INSTALL_DIR=/usr/lib/$(DEB_HOST_MULTIARCH) VERSION=$(CONFIG_VERSION) + dh_auto_configure -- LIB_INSTALL_DIR=/usr/lib/$(DEB_HOST_MULTIARCH) override_dh_makeshlibs: dh_makeshlibs -V