File: rules

package info (click to toggle)
beep 1.4.9-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 680 kB
  • sloc: ansic: 1,488; sh: 256; python: 26; makefile: 11
file content (23 lines) | stat: -rwxr-xr-x 556 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f
#DH_VERBOSE = 1

export DEB_BUILD_MAINT_OPTIONS=hardening=+all
-include /usr/share/dpkg/buildtools.mk

%:
	dh $@

override_dh_auto_build:
	dh_auto_build -- 'COMPILER_gcc=$(CC)' 'LINKER_gcc=$(CC)' FLAGS="$(shell dpkg-buildflags --get CFLAGS)"

override_dh_install:
	dh_install
	rm -f debian/beep/usr/share/doc/beep/COPYING

override_dh_dwz:
	# this fails ...
	# dwz: debian/beep/usr/bin/beep: .debug_info section not present

override_dh_auto_test:
	# don't run it for now
	# It seems to expect some devices and fails if they don't exist