Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
4
5 export PVER=$(shell dpkg-parsechangelog --show-field version | cut -d"-" -f1)
6
7 confflags := \
8 --enable-shared \
9 $(NULL)
10
11 %:
12 dh $@
13
14 override_dh_auto_configure:
15 dh_auto_configure -- $(confflags)
16
17 override_dh_auto_build:
18 $(MAKE) DEFAULT_MENU=/etc/X11/blackbox/blackbox-menu
19
20 execute_after_dh_install:
21 rm -f $(CURDIR)/debian/blackbox/usr/share/blackbox/menu
22
23 override_dh_makeshlibs:
24 dh_makeshlibs -- -v$(PVER)