summaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xdebian/rules18
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..ba5f513
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,18 @@
+#!/usr/bin/make -f
+
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs -Wl,--as-needed
+
+%:
+ dh $@
+
+override_dh_autoreconf:
+ dh_autoreconf --as-needed
+
+override_dh_install:
+ find debian/tmp -name '*.a' -print -delete
+ find debian/tmp -name '*.la' -print -delete
+ dh_install
+
+override_dh_missing:
+ dh_missing --fail-missing