doc/Makefile
changeset 7660 ceed5f8c4ebf
parent 6943 2ca70663ded3
child 7686 fa584d23e3cc
--- a/doc/Makefile	Thu Jan 15 14:19:29 2009 +0100
+++ b/doc/Makefile	Sat Jan 17 15:15:26 2009 +0100
@@ -5,6 +5,7 @@
 MANDIR=$(PREFIX)/share/man
 INSTALL=install -c
 PYTHON=python
+ASCIIDOC=asciidoc
 
 all: man html
 
@@ -24,10 +25,10 @@
 	mv $*~ $*
 
 %.xml: %.txt
-	asciidoc -d manpage -b docbook $*.txt
+	$(ASCIIDOC) -d manpage -b docbook $*.txt
 
 %.html: %.txt
-	asciidoc -b html4 $*.txt || asciidoc -b html $*.txt
+	$(ASCIIDOC) -b html4 $*.txt || $(ASCIIDOC) -b html $*.txt
 
 MANIFEST: man html
 	# tracked files are already in the main MANIFEST