mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Added a clean-backupfiles target to the makefile
This commit is contained in:
parent
22a01fab9b
commit
36338fe9ea
7
Makefile
7
Makefile
@ -12,17 +12,20 @@ check:
|
||||
-i doc/_build -i ez_setup.py -i tests/path.py -i tests/coverage.py \
|
||||
-i env -i .tox .
|
||||
|
||||
clean: clean-pyc clean-patchfiles
|
||||
clean: clean-pyc clean-patchfiles clean-backupfiles
|
||||
|
||||
clean-pyc:
|
||||
find . -name '*.pyc' -exec rm -f {} +
|
||||
find . -name '*.pyo' -exec rm -f {} +
|
||||
find . -name '*~' -exec rm -f {} +
|
||||
|
||||
clean-patchfiles:
|
||||
find . -name '*.orig' -exec rm -f {} +
|
||||
find . -name '*.rej' -exec rm -f {} +
|
||||
|
||||
clean-backupfiles:
|
||||
find . -name '*~' -exec rm -f {} +
|
||||
find . -name '*.bak' -exec rm -f {} +
|
||||
|
||||
pylint:
|
||||
@pylint --rcfile utils/pylintrc sphinx
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user