Fix: docutils/__init__.py __version_info__ must be changed manually
[docutils.git] / sandbox / texinfo-writer / Makefile
blobf78c1d56e9995b67ba056bae3330693d8112fa12
2 infodir ?= /usr/share/info
4 all: rst2texinfo.info README.html
6 rst2texinfo.info::
7 python rst2texinfo.py \
8 --texinfo-filename=rst2texinfo.info \
9 --texinfo-dir-entry='rst2texinfo' \
10 --texinfo-dir-category='Documentation tools' \
11 --texinfo-dir-description='Convert reStructuredText to Texinfo.' \
12 README.txt rst2texinfo.texi
13 makeinfo --no-split rst2texinfo.texi
15 README.html::
16 rst2html.py README.txt README.html
18 install-info: all
19 cp -t $(infodir) rst2texinfo.info
20 install-info --info-dir=$(infodir) rst2texinfo.info
22 uninstall-info: all
23 -rm -f $(infodir)/rst2texinfo.info
24 install-info --delete --info-dir=$(infodir) rst2texinfo.info
26 install::
27 python setup.py install
29 uninstall::
30 -rm -rf /usr/local/lib/python2.6/dist-packages/rst2texinfo-0.2-py2.6.egg/
31 -rm -f /usr/local/bin/rst2texinfo.py
33 test::
34 python test_texinfo.py -v
36 clean:
37 -rm -f README.html
38 -rm -f rst2texinfo.texi rst2texinfo.info
39 -rm -rf build rst2texinfo.egg-info dist
40 -rm -f *.pyc
42 .PHONY: all install-info uninstall-info test clean