From: Peter Green Date: Sat, 24 Feb 2024 11:42:33 +0000 (+0000) Subject: Fix package clean target X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=f1aadd55f8729491c31b093b10df29a3fc859935;p=hippotat.git Fix package clean target The package's clean target was not functional. Add manual cleanup. Closes: #1064524 Signed-off-by: Ian Jackson --- diff --git a/debian/rules b/debian/rules index 78ecd6b..5b0d77e 100755 --- a/debian/rules +++ b/debian/rules @@ -34,6 +34,12 @@ execute_before_dh_auto_clean: if test -f Cargo.lock.upstream; \ then mv Cargo.lock.upstream Cargo.lock; fi +execute_after_dh_auto_clean: + rm -rf target + rm -rf docs/html docs/doctrees + rm -rf debian/cargo_home + rm -f hippotat-setup-permissions.8 + override_dh_auto_test: @echo not running tests during build - they need unshare