diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..a5c0b86 --- /dev/null +++ b/Makefile @@ -0,0 +1,18 @@ +RST=python $(S)/ms/tools/rst.py + +rst: documentation.py documentation3.py + python $(S)/ms/tools/minidoc.py -d documentation.py + python3.3 $(S)/minidoc3.py -d documentation3.py + +html: /tmp/documentation.rst /tmp/documentation3.rst + $(RST) /tmp/documentation.rst + $(RST) /tmp/documentation3.rst + rst2html README.txt index.html + +pdf: /tmp/documentation.rst /tmp/documentation3.rst + rst2pdf /tmp/documentation.rst -o documentation.pdf + rst2pdf /tmp/documentation3.rst -o documentation3.pdf + cp /tmp/documentation.html /tmp/documentation3.html . + +upload: documentation.pdf documentation3.pdf + python3.3 setup.py register sdist upload |
