summaryrefslogtreecommitdiffstats
path: root/t/templates/debian-native/rules
diff options
context:
space:
mode:
Diffstat (limited to 't/templates/debian-native/rules')
-rwxr-xr-xt/templates/debian-native/rules13
1 files changed, 13 insertions, 0 deletions
diff --git a/t/templates/debian-native/rules b/t/templates/debian-native/rules
new file mode 100755
index 0000000..4411cbf
--- /dev/null
+++ b/t/templates/debian-native/rules
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+
+%:
+ dh $@
+
+# In Ubuntu, dh does not catch this file by default.
+# They have diffed it to reduce the size of packages.
+ifneq (,$(strip $(wildcard Changes)))
+override_dh_installchangelogs:
+ dh_installchangelogs Changes
+endif