mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
Documentation: Added a Makefile
.. to create pdf, html and info files .. and .gitignore to ignore outputs
This commit is contained in:
3
doc/user/.gitignore
vendored
Normal file
3
doc/user/.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
*.info
|
||||
*.pdf
|
||||
*.html
|
||||
25
doc/user/Makefile
Normal file
25
doc/user/Makefile
Normal 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 $@
|
||||
Reference in New Issue
Block a user