diff options
author | Will Kahn-Greene <willg@bluesock.org> | 2011-07-30 16:25:44 -0400 |
---|---|---|
committer | Will Kahn-Greene <willg@bluesock.org> | 2011-07-30 16:26:43 -0400 |
commit | d4535719370ca3be4790070e4bbe572671ba6045 (patch) | |
tree | be506ea62de5c0167eeff8d2ffb546453607d653 /docs/Makefile | |
parent | 482d53cd30229798ff58f9d6f3cbb3b86f94f218 (diff) | |
download | mediagoblin-d4535719370ca3be4790070e4bbe572671ba6045.tar.lz mediagoblin-d4535719370ca3be4790070e4bbe572671ba6045.tar.xz mediagoblin-d4535719370ca3be4790070e4bbe572671ba6045.zip |
460. Adds texinfo output bits
Building texinfo version of the manual only works with Sphinx from hg
tip at present.
Also, there are some minor issues and someone should go through the
manual and read it to make sure there aren't issues.
Diffstat (limited to 'docs/Makefile')
-rw-r--r-- | docs/Makefile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/Makefile b/docs/Makefile index 81fc3d13..9a4608de 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -12,6 +12,9 @@ PAPEROPT_a4 = -D latex_paper_size=a4 PAPEROPT_letter = -D latex_paper_size=letter ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . +# the i18n builder cannot share the environment and doctrees with the others +I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . + .PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest help: @@ -113,6 +116,24 @@ man: @echo @echo "Build finished. The manual pages are in $(BUILDDIR)/man." +texinfo: + $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo + @echo + @echo "Build finished. The Texinfo files are in $(BUILDDIR)/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) $(BUILDDIR)/texinfo + @echo "Running Texinfo files through makeinfo..." + make -C $(BUILDDIR)/texinfo info + @echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo." + +gettext: + $(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale + @echo + @echo "Build finished. The message catalogs are in $(BUILDDIR)/locale." + changes: $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes @echo |