Freshen up Makefile clean target
This commit is contained in:
parent
a57f7ae010
commit
2d052fcefb
1 changed files with 7 additions and 5 deletions
12
Makefile
12
Makefile
|
@ -33,12 +33,14 @@ pyflakes:
|
||||||
pyflakes lib/ansible/*.py
|
pyflakes lib/ansible/*.py
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
@echo "Cleaning up distutils stuff"
|
||||||
rm -rf build
|
rm -rf build
|
||||||
find . -type f -name "*.pyc" -delete
|
@echo "Cleaning up byte compiled python stuff"
|
||||||
find . -type f -name "*.pyo" -delete
|
find . -regex ".*\.py[co]$$"
|
||||||
find . -type f -name "*~" -delete
|
@echo "Cleaning up editor backup files"
|
||||||
find ./docs/ -type f -name "*.xml" -delete
|
find . -type f \( -name "*~" -or -name "#*" \) -delete
|
||||||
find . -type f -name "#*" -delete
|
@echo "Cleaning up asciidoc to man transformations and results"
|
||||||
|
find ./docs/man -type f \( -name "*.xml" -or -regex ".*\.[0-9]$$" \) -delete
|
||||||
|
|
||||||
python: docs
|
python: docs
|
||||||
python setup.py build
|
python setup.py build
|
||||||
|
|
Loading…
Reference in a new issue