Move some cleaning from debian/rules to debian/clean
authorNicolas Boulenguez <nicolas@debian.org>
Wed, 25 May 2022 22:47:22 +0000 (00:47 +0200)
committerDoesnot Matter <you@example.com>
Thu, 26 May 2022 10:32:27 +0000 (12:32 +0200)
debian/clean [new file with mode: 0644]
debian/rules

diff --git a/debian/clean b/debian/clean
new file mode 100644 (file)
index 0000000..0ac9e25
--- /dev/null
@@ -0,0 +1,2 @@
+build/
+gbp/version.py
index 0802452d8185ec3a5e0cacd6fe33aea5feab4d66..ad61ba7a91f1b847046b6bf4d3b24799bf27c3ec 100755 (executable)
@@ -13,6 +13,4 @@ execute_after_dh_fixperms:
        chmod a+x debian/git-buildpackage/usr/lib/python3/dist-packages/gbp/scripts/supercommand.py
 
 execute_after_dh_auto_clean:
-       rm -rf build/
        make -C docs/ clean
-       -rm gbp/version.py