]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] debian/rules: move makefile targets (no functional change)
authorPeter Wu <peter@lekensteyn.nl>
Mon, 20 Jan 2020 22:25:40 +0000 (22:25 +0000)
committerPeter Wu <peter@lekensteyn.nl>
Mon, 20 Jan 2020 22:25:40 +0000 (22:25 +0000)
Remove .PHONY marker for consistency. Move override_dh_strip before the
target dh_makeshlibs as is is executed right before that.

debian/rules

index dd1f27a1e6df4978df934e14aa677c99941f4054..b3a0feafcf70756fcb9892e2ade5c96ccdbf7155 100755 (executable)
@@ -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