From ea1edbbb24cb39ad9e123452bb45114f5ec813bc Mon Sep 17 00:00:00 2001 From: Michele Simionato Date: Fri, 24 Jul 2015 19:19:06 +0200 Subject: Added docs directory and upload_docs command --- Makefile | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 1adf343..aaf5ea1 100644 --- a/Makefile +++ b/Makefile @@ -2,14 +2,15 @@ RST=python $(S)/ms/tools/rst.py rst: src/tests/documentation.py PYTHONPATH=src:$(S) python3 $(S)/minidoc3.py -d tests.documentation - cp /tmp/tests.documentation.rst documentation.rst + cp /tmp/tests.documentation.rst docs/documentation.rst -html: documentation.rst README.rst - $(RST) documentation.rst - rst2html README.rst index.html +html: docs/documentation.rst README.rst + $(RST) docs/documentation.rst + rst2html README.rst docs/index.html -pdf: documentation.rst - rst2pdf documentation.rst -o documentation.pdf +pdf: docs/documentation.rst + rst2pdf docs/documentation.rst -o docs/documentation.pdf upload: documentation.pdf - git clean -f; python3 setup.py register sdist bdist_wheel upload + git clean -f + python3 setup.py register sdist bdist_wheel upload upload_docs -- cgit v1.2.1