summaryrefslogtreecommitdiff
path: root/debian/rules
blob: 131c822169c085dd1539f02d5a9a1f9f731a6945 (plain)
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
# -*- makefile -*-

export DEB_BUILD_HARDENING=1

# Avoid overlinking and reduce library dependencies.
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

%:
	dh $@ --parallel

.PHONY: override_dh_auto_configure
override_dh_auto_configure:
	cp Makefile.proto Makefile

.PHONY: override_dh_installdocs
override_dh_installdocs:
	dh_installdocs -XREADME

.PHONY: override_dh_builddeb
override_dh_builddeb:
	dh_builddeb -- -Zxz -z9