File: rules

package info (click to toggle)
gfs2-utils 3.5.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,444 kB
  • sloc: ansic: 30,965; python: 1,215; makefile: 387; sh: 368; yacc: 188; lex: 108
file content (27 lines) | stat: -rwxr-xr-x 646 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
24
25
26
27
#!/usr/bin/make -f

# build fails when format hardening is on
export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@

# libbz2-dev does not provide a pkg-config file (Bug: #853803)
override_dh_auto_configure:
	dh_auto_configure -- \
		bzip2_CFLAGS=' ' \
		bzip2_LIBS=-lbz2 \
		bzip2_VERSION=' ' \
		--libexecdir=/lib/udev \
		--with-udevdir=/lib/udev

override_dh_auto_install:
	dh_auto_install
	rm debian/gfs2-utils/usr/share/doc/gfs2-utils/COPY*
	rm debian/gfs2-utils/usr/share/doc/gfs2-utils/README.licence

override_dh_missing:
	dh_missing --fail-missing

override_dh_auto_test:
	if ! dh_auto_test; then cat tests/testsuite.log; exit 1; fi