[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [bridgedb/develop] Add commands to create documentation .zip file to `make docs` directive.
commit aa167c967155c1c5fd177617c5a6182069583c8e
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
Date: Sat Mar 21 00:38:48 2015 +0000
Add commands to create documentation .zip file to `make docs` directive.
* FIXES part of #12507: https://bugs.torproject.org/12507
---
Makefile | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 6d7acd2..8b6358b 100644
--- a/Makefile
+++ b/Makefile
@@ -3,6 +3,7 @@
.DEFAULT: install test
TRIAL:=$(shell which trial)
+VERSION:=$(shell git describe)
all:
python setup.py build
@@ -41,7 +42,10 @@ translations-template:
python setup.py extract_messages
docs:
- python setup.py build_sphinx
+ python setup.py build_sphinx --version "$(VERSION)"
+ cd build/sphinx/html && \
+ zip -r ../"$(VERSION)"-docs.zip ./ && \
+ echo "Your package documents are in build/sphinx/$(VERSION)-docs.zip"
clean-docs:
-rm -rf build/sphinx
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits