Skip to content
This repository was archived by the owner on May 9, 2020. It is now read-only.

Commit e8953dd

Browse files
authored
Merge pull request #66 from roymath/master
added info and texinfo targets to Makefile
2 parents 6df0fe3 + 514fde4 commit e8953dd

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

docs/Makefile

+15
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ help:
3131
@echo " man to make manual pages"
3232
@echo " changes to make an overview of all changed/added/deprecated items"
3333
@echo " linkcheck to check all external links for integrity"
34+
@echo " texinfo to make Texinfo files"
35+
@echo " info to make Texinfo files and run them through makeinfo"
3436
@echo " doctest to run all doctests embedded in the documentation (if enabled)"
3537

3638
clean:
@@ -124,6 +126,19 @@ linkcheck:
124126
@echo "Link check complete; look for any errors in the above output " \
125127
"or in $(BUILDDIR)/linkcheck/output.txt."
126128

129+
texinfo:
130+
$(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
131+
@echo
132+
@echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo."
133+
@echo "Run \`make' in that directory to run these through makeinfo" \
134+
"(use \`make info' here to do that automatically)."
135+
136+
info:
137+
$(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
138+
@echo "Running Texinfo files through makeinfo..."
139+
make -C $(BUILDDIR)/texinfo info
140+
@echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo."
141+
127142
doctest:
128143
$(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
129144
@echo "Testing of doctests in the sources finished, look at the " \

0 commit comments

Comments
 (0)