Add PHONY targets; wrap call to recursive make; add path to find.

I've marked added the rest of the phony build targets; wrapped the
recursive make call[0], and added the path specifier to the find
command for compatibility with BSD find.

[0]: https://www.gnu.org/software/make/manual/html_node/Recursion.html
This commit is contained in:
Bheesham Persaud 2016-10-04 21:00:19 -04:00
parent 7867ebd049
commit 1711b1f5ad

View File

@ -23,7 +23,7 @@ all:
@echo ""
docs:
make -C docs html
$(MAKE) -C docs html
upload: r
python setup.py sdist upload
@ -72,10 +72,10 @@ coveralls:
clean:
@find . -name "*.pyc" -exec rm {} \;
@find -name __pycache__ -delete
@find . -name __pycache__ -delete
@${RM} -r -f .tox
@${RM} -r -f dist
@${RM} -r -f *.egg-info
@${RM} -r -f docs/_build
.PHONY: docs
.PHONY: all docs upload full venv dev test tox flake clear d diff r python coveralls clean