diff options
| author | Michele Simionato <michele.simionato@gmail.com> | 2015-07-19 07:36:08 +0200 |
|---|---|---|
| committer | Michele Simionato <michele.simionato@gmail.com> | 2015-07-19 07:36:08 +0200 |
| commit | 79c669ce71afcd70b49344823b5ccc8a61023f98 (patch) | |
| tree | 804468b4ce1810ba0502a5b53a60c8815711b12f /Makefile | |
| parent | da7b6d12e18d4d123db61a74c933d5106db59465 (diff) | |
| download | python-decorator-git-79c669ce71afcd70b49344823b5ccc8a61023f98.tar.gz | |
Unified the documentation for Python 2 and 3
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 15 |
1 files changed, 6 insertions, 9 deletions
@@ -1,18 +1,15 @@ RST=python $(S)/ms/tools/rst.py -rst: documentation.py 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 . +rst: documentation.py + PYTHONPATH=src:$(S) python3 $(S)/minidoc3.py -d documentation.py + cp /tmp/documentation.rst . -html: /tmp/documentation.rst /tmp/documentation3.rst README.rst +html: /tmp/documentation.rst README.rst $(RST) /tmp/documentation.rst - $(RST) /tmp/documentation3.rst rst2html README.rst index.html -pdf: /tmp/documentation.rst /tmp/documentation3.rst +pdf: /tmp/documentation.rst rst2pdf /tmp/documentation.rst -o documentation.pdf - rst2pdf /tmp/documentation3.rst -o documentation3.pdf -upload: documentation.pdf documentation3.pdf +upload: documentation.pdf python3 setup.py register sdist upload |
