summaryrefslogtreecommitdiff
path: root/doc/Makefile
diff options
context:
space:
mode:
authorJon Waltman <jonathan.waltman@gmail.com>2010-09-16 02:16:27 -0500
committerJon Waltman <jonathan.waltman@gmail.com>2010-09-16 02:16:27 -0500
commit0a8eed122a82fc353e7f53c99ce49cbec7f04684 (patch)
treef5bf9a95b6cacd3d907e8cb4fd1ed9c0681b46be /doc/Makefile
parent4dafb51afd4d3646420c0e40b417fab7a40aeab6 (diff)
downloadsphinx-0a8eed122a82fc353e7f53c99ce49cbec7f04684.tar.gz
Add documentation for Texinfo builder
Diffstat (limited to 'doc/Makefile')
-rw-r--r--doc/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/Makefile b/doc/Makefile
index aa3ecb61..0199ba47 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -29,6 +29,8 @@ help:
@echo " epub to make an epub file"
@echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
@echo " latexpdf to make LaTeX files and run pdflatex"
+ @echo " texinfo to make Texinfo files"
+ @echo " info to make Texinfo files and run them through makeinfo"
@echo " gettext to make PO message catalogs"
@echo " changes to make an overview over all changed/added/deprecated items"
@echo " linkcheck to check all external links for integrity"
@@ -131,3 +133,16 @@ linkcheck:
doctest:
$(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) _build/doctest
+
+texinfo:
+ $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) _build/texinfo
+ @echo
+ @echo "Build finished. The Texinfo files are in _build/texinfo."
+ @echo "Run \`make' in that directory to run these through makeinfo" \
+ "(use \`make info' here to do that automatically)."
+
+info:
+ $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) _build/texinfo
+ @echo "Running Texinfo files through makeinfo..."
+ make -C _build/texinfo info
+ @echo "makeinfo finished; the Info files are in _build/texinfo."