Documentation: Added a Makefile

.. to create pdf, html and info files
.. and .gitignore to ignore outputs
This commit is contained in:
Mark Liversedge
2013-03-19 15:15:36 +00:00
parent 23e223f8c5
commit bd6f9d98e4
2 changed files with 28 additions and 0 deletions

3
doc/user/.gitignore vendored Normal file
View File

@@ -0,0 +1,3 @@
*.info
*.pdf
*.html

25
doc/user/Makefile Normal file
View File

@@ -0,0 +1,25 @@
#
# Generate documentation files from the source .texinfo
#
all: FAQ
rm -f *.aux *.cp *.cps *.fn *.ky *.log *.pg *.toc *.tp *.vr
FAQ: FAQ.pdf FAQ.html FAQ.info
## The basic commands, good on Linux/Mac
## need mingw on Windows
TEXI2PDF = texi2pdf
TEXI2HTML = texi2html
MAKEINFO = makeinfo
.SUFFIXES: .pdf .texinfo .info .html
.texinfo.info:
${MAKEINFO} $< -o $@
.texinfo.pdf:
${TEXI2PDF} $< -o $@
.texinfo.html:
${TEXI2HTML} $< -o $@