diff options
author | David Pursehouse <david.pursehouse@sonymobile.com> | 2013-08-07 11:03:54 +0900 |
---|---|---|
committer | David Pursehouse <david.pursehouse@sonymobile.com> | 2013-08-07 15:22:12 +0900 |
commit | 4dd516877f113ba05c98d5b38afb16af702a5bd4 (patch) | |
tree | d4dd9e029e3119a4b0eea8cdb3afd1c1a824c854 /Makefile | |
parent | a3378568b9415cdba2690c756af0011fc5eb0744 (diff) | |
download | pygerrit-4dd516877f113ba05c98d5b38afb16af702a5bd4.tar.gz |
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
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |