Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sphinx-doc/sphinx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2016-05-30 17:44:45 +0300
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2016-05-30 17:44:49 +0300
commitae0fab15d3e414dda44aabc6003938f5b58dfa3e (patch)
tree06bd6762166c7fc1afb55027e281d31f87badfd6 /Makefile
parent24beece2a3ad246cb3182f8a6ac1eab9bf61bf95 (diff)
Clear __pycache__, tests/build and .tox on `make clean`
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 02854840e..3b9581033 100644
--- a/Makefile
+++ b/Makefile
@@ -33,12 +33,15 @@ all: clean-pyc clean-backupfiles style-check test
style-check:
@$(PYTHON) utils/check_sources.py $(DONT_CHECK) .
-clean: clean-pyc clean-patchfiles clean-backupfiles clean-generated
+clean: clean-pyc clean-pycache clean-patchfiles clean-backupfiles clean-generated clean-testfiles
clean-pyc:
find . -name '*.pyc' -exec rm -f {} +
find . -name '*.pyo' -exec rm -f {} +
+clean-pycache:
+ find . -name __pycache__ -exec rm -rf {} +
+
clean-patchfiles:
find . -name '*.orig' -exec rm -f {} +
find . -name '*.rej' -exec rm -f {} +
@@ -50,6 +53,10 @@ clean-backupfiles:
clean-generated:
rm -f utils/*3.py*
+clean-testfiles:
+ rm -rf tests/build
+ rm -rf .tox/
+
pylint:
@pylint --rcfile utils/pylintrc sphinx