From db6b2a9c66d0ba62684d793ce6c50c78def15701 Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Sat, 11 Jul 2020 03:23:33 -0400 Subject: Makefile: Refactor PHONY declarations. --- Makefile | 10 ++++++---- 1 file 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 -- cgit v1.2.3