docs/Makefile: use $(ASCIIDOC), add asciidoc 'latest git docs' config

This commit is contained in:
Michael Stapelberg
2011-10-15 23:32:04 +01:00
parent 88f147ebe4
commit c3a18104cd
2 changed files with 671 additions and 7 deletions

View File

@ -1,26 +1,28 @@
# To pass additional parameters for asciidoc
ASCIIDOC=asciidoc
all: hacking-howto.html debugging.html userguide.html ipc.html multi-monitor.html wsbar.html refcard.pdf testsuite.html
hacking-howto.html: hacking-howto
asciidoc -a toc -n $<
$(ASCIIDOC) -a toc -n $<
debugging.html: debugging
asciidoc -n $<
$(ASCIIDOC) -n $<
userguide.html: userguide
asciidoc -a toc -n $<
$(ASCIIDOC) -a toc -n $<
testsuite.html: testsuite
asciidoc -a toc -n $<
$(ASCIIDOC) -a toc -n $<
ipc.html: ipc
asciidoc -a toc -n $<
$(ASCIIDOC) -a toc -n $<
multi-monitor.html: multi-monitor
asciidoc -a toc -n $<
$(ASCIIDOC) -a toc -n $<
wsbar.html: wsbar
asciidoc -a toc -n $<
$(ASCIIDOC) -a toc -n $<
refcard.pdf: refcard.tex
pdflatex refcard.tex && pdflatex refcard.tex