diff options
author | rsiddharth <rsd@gnu.org> | 2020-07-11 03:23:33 -0400 |
---|---|---|
committer | rsiddharth <rsd@gnu.org> | 2020-07-11 03:23:33 -0400 |
commit | db6b2a9c66d0ba62684d793ce6c50c78def15701 (patch) | |
tree | 9a8b9d4760bccb2326a379414c5f94aa647765b3 /Makefile | |
parent | af107a9d29277cbb2099704b73648b76eee85e58 (diff) |
Makefile: Refactor PHONY declarations.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -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 |