mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix "make clean" does not remove build/ directory
This commit is contained in:
parent
6f3a93c8b4
commit
502874bcc4
5
Makefile
5
Makefile
@ -34,7 +34,7 @@ all: clean-pyc clean-backupfiles style-check test
|
|||||||
style-check:
|
style-check:
|
||||||
@$(PYTHON) utils/check_sources.py $(DONT_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:
|
clean-pyc:
|
||||||
find . -name '*.pyc' -exec rm -f {} +
|
find . -name '*.pyc' -exec rm -f {} +
|
||||||
@ -58,6 +58,9 @@ clean-testfiles:
|
|||||||
rm -rf tests/build
|
rm -rf tests/build
|
||||||
rm -rf .tox/
|
rm -rf .tox/
|
||||||
|
|
||||||
|
clean-buildfiles:
|
||||||
|
rm -rf build
|
||||||
|
|
||||||
pylint:
|
pylint:
|
||||||
@pylint --rcfile utils/pylintrc sphinx
|
@pylint --rcfile utils/pylintrc sphinx
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user