chiark / gitweb /
Fix package clean target
authorPeter Green <plugwash@debian.org>
Sat, 24 Feb 2024 11:42:33 +0000 (11:42 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 24 Feb 2024 18:58:34 +0000 (18:58 +0000)
The package's clean target was not functional.  Add manual
cleanup.

Closes: #1064524
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
debian/rules

index 78ecd6ba26b9b32462ce0d8d8832d114df5939b2..5b0d77ee28b369ffcb650cbf6e07b9ef43906131 100755 (executable)
@@ -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