diff --git a/Makefile b/Makefile index 3bbd2baa35..b0a1f78f41 100644 --- a/Makefile +++ b/Makefile @@ -31,10 +31,14 @@ clean-build: rm -fr dist-packages/ rm -fr dist-packages-temp/ rm -fr kalite/database/templates - find . -regextype posix-extended -regex '.*\.(egg-info|egg)' -exec rm -fr {} + + find . -name '*.egg-info' -exec rm -fr {} + + find . -name '*.egg' -exec rm -f {} + clean-pyc: - find . -regextype posix-extended -regex '.*\.(pyc|pyo|~|__pycache__)' -exec rm -fr {} + + find . -name '*.pyc' -exec rm -f {} + + find . -name '*.pyo' -exec rm -f {} + + find . -name '*~' -exec rm -f {} + + find . -name '__pycache__' -exec rm -fr {} + clean-test: rm -fr .tox/