summaryrefslogtreecommitdiffstats
path: root/debian/rules
blob: 1a28397c12b06b496adb2b19e2c05c2d70777a23 (plain)
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
28
29
#!/usr/bin/make -f
# output every command that modifies files on the build system.
export DH_VERBOSE = 1
include /usr/share/dpkg/pkg-info.mk
include /usr/share/dpkg/architecture.mk

DPKG_EXPORT_BUILDFLAGS = 1
DEB_BUILD_MAINT_OPTIONS ?= hardening=+all
export DEB_BUILD_MAINT_OPTIONS
include /usr/share/dpkg/buildflags.mk

%:
	dh $@

override_dh_auto_configure:
	make refresh

execute_before_dh_installdebconf:
	./expand-translations debian/po.tmp

override_dh_installdocs:
	dh_installdocs --link-doc=isa-support

override_dh_installdebconf:
	dh_installdebconf -- --podir=debian/po.tmp

override_dh_dwz:
	# workarround lintian bug
	dh_dwz --no-dwz-multifile