From 50d1232125d78870b33d0cf01c22bf2ba0f0cb41 Mon Sep 17 00:00:00 2001 From: Peter Uithoven Date: Wed, 31 Jan 2018 16:53:37 +0100 Subject: [PATCH] Filled in debian/rules Hopefully fixing #7 --- debian/rules | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index e50e7cd..1b64385 100755 --- a/debian/rules +++ b/debian/rules @@ -10,5 +10,20 @@ #export DH_VERBOSE=1 %: - dh $@ + dh $@ +override_dh_auto_clean: + rm -rf debian/build + +override_dh_auto_configure: + mkdir -p debian/build + cd debian/build && meson --prefix=/usr ../.. + +override_dh_auto_build: + cd debian/build && ninja -v + +override_dh_auto_test: + cd debian/build && ninja test + +override_dh_auto_install: +cd debian/build && DESTDIR=${CURDIR}/debian/com.github.peteruithoven.resizer ninja install