summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrsiddharth <rsd@gnu.org>2020-07-11 03:23:33 -0400
committerrsiddharth <rsd@gnu.org>2020-07-11 03:23:33 -0400
commitdb6b2a9c66d0ba62684d793ce6c50c78def15701 (patch)
tree9a8b9d4760bccb2326a379414c5f94aa647765b3
parentaf107a9d29277cbb2099704b73648b76eee85e58 (diff)
Makefile: Refactor PHONY declarations.
-rw-r--r--Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 06366dc..1f910a6 100644
--- a/Makefile
+++ b/Makefile
@@ -35,11 +35,11 @@ upload:
docs:
${GNU_MAKE} -C docs html
+.PHONY: docs
upload-docs: docs
@rsync -avz --delete docs/_build/html/ $(LPSG_DOCS_HOST)
-
-.PHONY: docs upload-docs
+.PHONY: upload-docs
venv:
@@ -58,17 +58,19 @@ clean-build:
rm -rf build/
rm -rf dist/
rm -rf *.egg-info
+.PHONY: clean-build
clean-pyc:
find . -name '*.pyc' -exec rm -f {} +
+.PHONY: clean-pyc
clean-venv:
rm -rf ${VENV_DIR}*/
+.PHONY: clean-venv
clean-docs:
${GNU_MAKE} -C docs clean
-
-.PHONY: clean-build clean-pyc clean-venv clean-docs
+.PHONY: clean-docs
dev:
python setup.py develop