debian/rules: clean __pycache__ directories generated during the build
authorNicolas Boulenguez <nicolas@debian.org>
Wed, 25 May 2022 23:44:07 +0000 (01:44 +0200)
committerDoesnot Matter <you@example.com>
Thu, 26 May 2022 18:11:47 +0000 (20:11 +0200)
debian/rules

index ad61ba7a91f1b847046b6bf4d3b24799bf27c3ec..a20be4bb714b712fbdce2fda84ef8aeb2c4867e5 100755 (executable)
@@ -14,3 +14,4 @@ execute_after_dh_fixperms:
 
 execute_after_dh_auto_clean:
        make -C docs/ clean
+       find gbp -name __init__.py -printf '%h/__pycache__/\n' | xargs rm -fr