Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3
4 #export DH_VERBOSE=1
5
6 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
7
8 export QT_SELECT := 5
9
10 include /usr/share/dpkg/architecture.mk
11 include /usr/share/dpkg/default.mk
12
13 VERSION = $(DEB_VERSION_UPSTREAM)
14 _PACK_VER = $(shell echo $(VERSION) | awk -F'[+_~-]' '{print $$1}')
15 _BUILD_VER = $(shell echo $(VERSION) | awk -F'[+_~-]' '{print $$2}' | sed 's/[^0-9]//g')
16
17 ifeq ($(_BUILD_VER),)
18 CONFIG_VERSION = $(_PACK_VER)
19 else
20 CONFIG_VERSION = $(_PACK_VER).$(_BUILD_VER)
21 endif
22
23 %:
24 dh $@
25
26 override_dh_auto_configure:
27 dh_auto_configure -- LIB_INSTALL_DIR=/usr/lib/$(DEB_HOST_MULTIARCH) VERSION=$(CONFIG_VERSION)
28
29 override_dh_installchangelogs:
30 dh_installchangelogs -k CHANGELOG.md
31
32 override_dh_makeshlibs:
33 dh_makeshlibs -V "libdframeworkdbus2 (>= $(shell echo $(VERSION) | cut -d '.' -f 1,2,3))"