aboutsummaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules5
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 472e869a4..3a7332840 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,8 @@
%:
dh $@ --with systemd
+.PHONY: override_dh_strip
+
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
override_dh_auto_configure:
@@ -29,6 +31,9 @@ override_dh_makeshlibs:
override_dh_strip:
dh_strip --dbg-package=rspamd-dbg
+override_dh_auto_install:
+ dh_auto_install --destdir=debian/rspamd
+
override_dh_auto_clean:
dh_auto_clean
rm -f src/modules.c