summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2016-10-02 00:25:58 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2016-10-02 00:25:58 +0900
commit502874bcc43916e74b1c9091874e6418d130ed35 (patch)
treec5e4ac94390e2d6ebc6e903188ed149c55319762 /Makefile
parent6f3a93c8b449f4b77db5f42be2df4ae322f5147e (diff)
downloadsphinx-git-502874bcc43916e74b1c9091874e6418d130ed35.tar.gz
Fix "make clean" does not remove build/ directory
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index adaf9640f..fa2a846f5 100644
--- a/Makefile
+++ b/Makefile
@@ -34,7 +34,7 @@ all: clean-pyc clean-backupfiles style-check test
style-check:
@$(PYTHON) utils/check_sources.py $(DONT_CHECK) .
-clean: clean-pyc clean-pycache clean-patchfiles clean-backupfiles clean-generated clean-testfiles
+clean: clean-pyc clean-pycache clean-patchfiles clean-backupfiles clean-generated clean-testfiles clean-buildfiles
clean-pyc:
find . -name '*.pyc' -exec rm -f {} +
@@ -58,6 +58,9 @@ clean-testfiles:
rm -rf tests/build
rm -rf .tox/
+clean-buildfiles:
+ rm -rf build
+
pylint:
@pylint --rcfile utils/pylintrc sphinx