]> arthur.barton.de Git - bup.git/commitdiff
GNUmakefile: clean py2 .pyc files
authorRob Browning <rlb@defaultvalue.org>
Fri, 26 Nov 2021 18:07:05 +0000 (12:07 -0600)
committerRob Browning <rlb@defaultvalue.org>
Sun, 5 Dec 2021 20:26:53 +0000 (14:26 -0600)
Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
GNUmakefile

index 61d4a4c5a7c6f66145af8b8942538123661e270f..5c0f72501f0c5f25acaa1b8dce1ee9ac4f020bb1 100644 (file)
@@ -300,5 +300,7 @@ clean: Documentation/clean
        rm -rf $(clean_paths) .pytest_cache
        rm -f $(generated_dependencies)
        find . -name __pycache__ -exec rm -rf {} +
+        # Remove this *.pyc cleanup once we drop py2
+       rm -f lib/bup/*.pyc lib/bup/cmd/*.pyc test/__init__.pyc
        if test -e test/tmp; then dev/force-delete test/tmp; fi
        dev/configure-sampledata --clean