Browse Source

[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.
tags/2.3
Peter Wu 4 years ago
parent
commit
561607b0d7
1 changed files with 5 additions and 7 deletions
  1. 5
    7
      debian/rules

+ 5
- 7
debian/rules View File

#!/usr/bin/make -f #!/usr/bin/make -f
%:
dh $@ --with systemd --parallel

.PHONY: override_dh_strip


export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
export ASAN_OPTIONS=detect_leaks=0 export ASAN_OPTIONS=detect_leaks=0
else else
ENABLE_HYPERSCAN := ENABLE_HYPERSCAN :=
endif endif
%:
dh $@ --with systemd --parallel


override_dh_auto_configure: override_dh_auto_configure:
dh_auto_configure -- -DCONFDIR=/etc/rspamd \ dh_auto_configure -- -DCONFDIR=/etc/rspamd \
-DWANT_SYSTEMD_UNITS=ON \ -DWANT_SYSTEMD_UNITS=ON \
$(ENABLE_HYPERSCAN) $(ENABLE_HYPERSCAN)


override_dh_makeshlibs:
dh_makeshlibs -Xrspamd-actrie

override_dh_strip: override_dh_strip:
dh_strip --dbg-package=rspamd-dbg dh_strip --dbg-package=rspamd-dbg


override_dh_makeshlibs:
dh_makeshlibs -Xrspamd-actrie

override_dh_auto_install: override_dh_auto_install:
dh_auto_install --destdir=debian/rspamd dh_auto_install --destdir=debian/rspamd



Loading…
Cancel
Save