summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrsiddharth <rsd@gnu.org>2016-05-26 19:33:12 +0000
committerrsiddharth <rsd@gnu.org>2016-05-26 19:33:12 +0000
commitd41613f7a30bb9bdbef020c82c1f83ae09ce6ed3 (patch)
tree0001c7bf2e61fe9b1e72fecabf333d0be53fb952
parent08e3b283337104a65f86c6c271298856631f8716 (diff)
Makefile: reorganized .PHONY
-rw-r--r--Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5a52b60..0d4be66 100644
--- a/Makefile
+++ b/Makefile
@@ -20,6 +20,8 @@
test:
@nosetests
+.PHONY: test
+
build-dist:
@python setup.py sdist bdist_wheel
@@ -30,12 +32,16 @@ upload:
@twine upload -r pypi -s -i rsd@gnu.org dist/*.tar.gz
@twine upload -r pypi -s -i rsd@gnu.org dist/*.whl
+.PHONY: build-dist egg upload
+
docs:
@$(MAKE) -C docs html
upload-docs: docs
@python setup.py upload_docs -r pypi --show-response --upload-dir docs/_build/html
+.PHONY: docs upload-docs
+
clean-build:
@rm -rf build/
@rm -rf dist/
@@ -54,10 +60,14 @@ clean-venv:
clean-docs:
@$(MAKE) -C docs clean
+.PHONY: clean-build clean-pyc clean-venv clean-docs
+
dev-packages:
@pip install -U nose mock restructuredtext_lint
@pip install -U wheel twine
@pip install -U Sphinx
-.PHONY: dist clean-build upload build-dist egg clean-pyc clean-venv
-.PHONY: dev-packages docs upload-docs clean-docs
+.PHONY: dev-packages
+
+
+