From 561607b0d7dfd46c5967d26b66496477bb70ff92 Mon Sep 17 00:00:00 2001 From: Peter Wu Date: Mon, 20 Jan 2020 22:25:40 +0000 Subject: [PATCH] [Minor] debian/rules: move makefile targets (no functional change) Remove .PHONY marker for consistency. Move override_dh_strip before the target dh_makeshlibs as is is executed right before that. --- debian/rules | 12 +++++------- 1 file 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 -- 2.39.5