File: rules

package info (click to toggle)
beep 1.4.3-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 524 kB
  • sloc: ansic: 863; sh: 228; python: 26; makefile: 10
file content (22 lines) | stat: -rwxr-xr-x 477 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
#!/usr/bin/make -f
#DH_VERBOSE = 1

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@

override_dh_auto_build:
	dh_auto_build -- 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