From 9384b6b83ffbe2ac85d57893a25da48261b033fb Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 22 Mar 2018 09:54:27 +0000 Subject: Revert "[Minor] Use ninja to build packages" This reverts commit 34c8e06baf7258ef5888191d7e5af1dd422baf55. --- debian/rules | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index 6fc338571..c958a26ea 100755 --- a/debian/rules +++ b/debian/rules @@ -1,13 +1,13 @@ #!/usr/bin/make -f %: - dh $@ --with systemd --builddirectory=build-deb + dh $@ --with systemd .PHONY: override_dh_strip export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed override_dh_auto_configure: - dh_auto_configure -- -GNinja -DCONFDIR=/etc/rspamd \ + dh_auto_configure -- -DCONFDIR=/etc/rspamd \ -DMANDIR=/usr/share/man \ -DRUNDIR=/run/rspamd \ -DDBDIR=/var/lib/rspamd \ @@ -38,17 +38,12 @@ override_dh_makeshlibs: override_dh_strip: dh_strip --dbg-package=rspamd-dbg -override_dh_auto_build: - ninja -C build-deb -v - override_dh_auto_install: - DESTDIR=$(CURDIR)/debian/rspamd ninja -C build-deb -v install - -override_dh_auto_test: + dh_auto_install --destdir=debian/rspamd override_dh_auto_clean: dh_auto_clean - rm -rf build-deb + rm -f src/modules.c override_dh_fixperms: dh_fixperms -- cgit v1.2.3