From 1711b1f5ad303a979df9bcb8d4e8b8cc9aea571d Mon Sep 17 00:00:00 2001 From: Bheesham Persaud Date: Tue, 4 Oct 2016 21:00:19 -0400 Subject: [PATCH] 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 --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index ccf8456..40d8eaf 100644 --- a/Makefile +++ b/Makefile @@ -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