From 4dd516877f113ba05c98d5b38afb16af702a5bd4 Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Wed, 7 Aug 2013 11:03:54 +0900 Subject: Add a make target to build the API documentation zip archive The `ddist` target packages the generated API documentation into a zip archive file suitable for uploading to PyPI. Change-Id: Ib94f445d03bdb45e817355ef1ad0d8119e10a0d9 --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5a640f8..65ce661 100644 --- a/Makefile +++ b/Makefile @@ -35,6 +35,12 @@ sdist: test valid-env source ./pygerritenv/bin/activate && \ python setup.py sdist" +ddist: sdist docs + bash -c "\ + cd docs/_build/html && \ + zip -r $(PWD)/dist/pygerrit-$(TAG)-api-documentation.zip . && \ + cd $(PWD)" + valid-env: valid-version valid-git-status valid-version: valid-tag -- cgit v1.2.1