Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3
4 # Uncomment this to turn on verbose mode.
5 #export DH_VERBOSE=1
6
7 # This has to be exported to make some magic below work.
8 export DH_OPTIONS
9
10 # Enable hardening build flags
11 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
12
13 include /usr/share/dpkg/pkg-info.mk
14
15 UPSTREAM_VERSION = $(shell echo $(DEB_VERSION_UPSTREAM) | sed -e 's/\+.*//')
16
17 %:
18 dh $@
19
20 override_dh_autoreconf:
21 dh_autoreconf ./autogen.sh
22
23 override_dh_installchangelogs:
24 dh_installchangelogs ChangeLog
25
26 override_dh_makeshlibs:
27 dh_makeshlibs -- -v$(UPSTREAM_VERSION)