|
@@ -11,30 +11,31 @@ ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) ./d
|
|
|
# the i18n builder cannot share the environment and doctrees with the others
|
|
|
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) ./docs/source
|
|
|
|
|
|
-.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext
|
|
|
+.PHONY: help clean html dirhtml singlehtml json htmlhelp devhelp epub latex latexpdf text changes linkcheck doctest gettext
|
|
|
|
|
|
help:
|
|
|
@echo "Please use \`make <target>' where <target> is one of"
|
|
|
- @echo " release to make a new minified release"
|
|
|
- @echo " html to make standalone HTML files"
|
|
|
+ @echo " changes to make an overview of all changed/added/deprecated items"
|
|
|
+ @echo " devhelp to make HTML files and a Devhelp project"
|
|
|
@echo " dirhtml to make HTML files named index.html in directories"
|
|
|
- @echo " singlehtml to make a single large HTML file"
|
|
|
- @echo " pickle to make pickle files"
|
|
|
+ @echo " doctest to run all doctests embedded in the documentation (if enabled)"
|
|
|
+ @echo " epub to export the documentation to epub"
|
|
|
+ @echo " gettext to make PO message catalogs of the documentation"
|
|
|
+ @echo " html to make standalone HTML files of the documentation"
|
|
|
+ @echo " htmlhelp to make HTML files and a HTML help project from the documentation"
|
|
|
+ @echo " info to make Texinfo files and run them through makeinfo"
|
|
|
@echo " json to make JSON files"
|
|
|
- @echo " htmlhelp to make HTML files and a HTML help project"
|
|
|
- @echo " qthelp to make HTML files and a qthelp project"
|
|
|
- @echo " devhelp to make HTML files and a Devhelp project"
|
|
|
- @echo " epub to make an epub"
|
|
|
@echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
|
|
|
@echo " latexpdf to make LaTeX files and run them through pdflatex"
|
|
|
- @echo " text to make text files"
|
|
|
- @echo " man to make manual pages"
|
|
|
- @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 of all changed/added/deprecated items"
|
|
|
@echo " linkcheck to check all external links for integrity"
|
|
|
- @echo " doctest to run all doctests embedded in the documentation (if enabled)"
|
|
|
+ @echo " pot generates a gettext POT file to be used for translations"
|
|
|
+ @echo " release to make a new minified release"
|
|
|
+ @echo " singlehtml to make a single large HTML file"
|
|
|
+ @echo " texinfo to make Texinfo files"
|
|
|
+ @echo " text to make text files"
|
|
|
+
|
|
|
+pot:
|
|
|
+ xgettext --keyword=__ --keyword=translate --from-code=UTF-8 --output=locale/converse.pot converse.js --package-name=Converse.js --copyright-holder="Jan-Carel Brand" --package-version=0.4 -c --language="python";
|
|
|
|
|
|
release:
|
|
|
r.js -o build.js
|
|
@@ -57,11 +58,6 @@ singlehtml:
|
|
|
@echo
|
|
|
@echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."
|
|
|
|
|
|
-pickle:
|
|
|
- $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
|
|
|
- @echo
|
|
|
- @echo "Build finished; now you can process the pickle files."
|
|
|
-
|
|
|
json:
|
|
|
$(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
|
|
|
@echo
|
|
@@ -73,15 +69,6 @@ htmlhelp:
|
|
|
@echo "Build finished; now you can run HTML Help Workshop with the" \
|
|
|
".hhp project file in $(BUILDDIR)/htmlhelp."
|
|
|
|
|
|
-qthelp:
|
|
|
- $(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
|
|
|
- @echo
|
|
|
- @echo "Build finished; now you can run "qcollectiongenerator" with the" \
|
|
|
- ".qhcp project file in $(BUILDDIR)/qthelp, like this:"
|
|
|
- @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/sphinx.qhcp"
|
|
|
- @echo "To view the help file:"
|
|
|
- @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/sphinx.qhc"
|
|
|
-
|
|
|
devhelp:
|
|
|
$(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
|
|
|
@echo
|
|
@@ -114,11 +101,6 @@ text:
|
|
|
@echo
|
|
|
@echo "Build finished. The text files are in $(BUILDDIR)/text."
|
|
|
|
|
|
-man:
|
|
|
- $(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
|
|
|
- @echo
|
|
|
- @echo "Build finished. The manual pages are in $(BUILDDIR)/man."
|
|
|
-
|
|
|
texinfo:
|
|
|
$(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
|
|
|
@echo
|