summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index a5c0b86..7e90baf 100644
--- a/Makefile
+++ b/Makefile
@@ -1,18 +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
+ PYTHONPATH=src:$(S) python $(S)/ms/tools/minidoc.py -d documentation.py
+ python3 $(S)/minidoc3.py -d documentation3.py
+ cp /tmp/documentation.rst /tmp/documentation3.rst .
html: /tmp/documentation.rst /tmp/documentation3.rst
$(RST) /tmp/documentation.rst
$(RST) /tmp/documentation3.rst
- rst2html README.txt index.html
+ rst2html README.rst 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
+ python3 setup.py register sdist upload