summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdebian/rules12
1 files changed, 5 insertions, 7 deletions
diff --git a/debian/rules b/debian/rules
index dd1f27a1e..b3a0feafc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,8 +1,4 @@
#!/usr/bin/make -f
-%:
- dh $@ --with systemd --parallel
-
-.PHONY: override_dh_strip
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
export ASAN_OPTIONS=detect_leaks=0
@@ -20,6 +16,8 @@ ifneq ($(filter $(DEB_HOST_ARCH),amd64 i386),)
else
ENABLE_HYPERSCAN :=
endif
+%:
+ dh $@ --with systemd --parallel
override_dh_auto_configure:
dh_auto_configure -- -DCONFDIR=/etc/rspamd \
@@ -40,12 +38,12 @@ override_dh_auto_configure:
-DWANT_SYSTEMD_UNITS=ON \
$(ENABLE_HYPERSCAN)
-override_dh_makeshlibs:
- dh_makeshlibs -Xrspamd-actrie
-
override_dh_strip:
dh_strip --dbg-package=rspamd-dbg
+override_dh_makeshlibs:
+ dh_makeshlibs -Xrspamd-actrie
+
override_dh_auto_install:
dh_auto_install --destdir=debian/rspamd