Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 #DH_VERBOSE = 1
3
4 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
5 -include /usr/share/dpkg/buildtools.mk
6
7 export deb_udevdir = $(shell pkg-config --variable=udevdir udev | sed s,^/,,)
8
9 %:
10 dh $@
11
12 override_dh_auto_build:
13 dh_auto_build -- 'COMPILER_gcc=$(CC)' 'LINKER_gcc=$(CC)' FLAGS="$(shell dpkg-buildflags --get CFLAGS)"
14
15 override_dh_install:
16 dh_install
17 rm -f debian/beep/usr/share/doc/beep/COPYING
18
19 override_dh_dwz:
20 # this fails ...
21 # dwz: debian/beep/usr/bin/beep: .debug_info section not present
22
23 override_dh_auto_test:
24 # don't run it for now
25 # It seems to expect some devices and fails if they don't exist