summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichele Simionato <michele.simionato@gmail.com>2015-07-24 19:19:06 +0200
committerMichele Simionato <michele.simionato@gmail.com>2015-07-24 19:19:06 +0200
commitea1edbbb24cb39ad9e123452bb45114f5ec813bc (patch)
tree3a0296c5cc2ae08567f2308bb47fc2afa23f9051 /Makefile
parent26cf4a7afad334eeb9cbc6508cca3971107d2ebf (diff)
downloadpython-decorator-git-ea1edbbb24cb39ad9e123452bb45114f5ec813bc.tar.gz
Added docs directory and upload_docs command
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 8 insertions, 7 deletions
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