]> git.sur5r.net Git - i3/i3/blobdiff - docs/Makefile
docs/Makefile: use $(ASCIIDOC), add asciidoc 'latest git docs' config
[i3/i3] / docs / Makefile
index 990bba877d1869d3800f2d01d72266a72369ed92..d1e0768ae4f8a086e174df2c46d783450b0ad611 100644 (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