doc/Makefile
changeset 13054 25200c7efe0f
parent 12921 6b6e7da9bccd
child 14459 323c11dad9c6
--- a/doc/Makefile	Mon Nov 29 10:13:55 2010 +0100
+++ b/doc/Makefile	Wed Dec 01 09:46:11 2010 +0900
@@ -7,6 +7,7 @@
 MANDIR=$(PREFIX)/share/man
 INSTALL=install -c -m 644
 PYTHON=python
+RSTARGS=
 
 export LANGUAGE=C
 export LC_ALL=C
@@ -25,11 +26,11 @@
 	mv $@.tmp $@
 
 %: %.txt common.txt
-	$(PYTHON) runrst hgmanpage --halt warning \
+	$(PYTHON) runrst hgmanpage $(RSTARGS) --halt warning \
 	  --strip-elements-with-class htmlonly $*.txt $*
 
 %.html: %.txt common.txt
-	$(PYTHON) runrst html --halt warning \
+	$(PYTHON) runrst html $(RSTARGS) --halt warning \
 	  --link-stylesheet --stylesheet-path style.css $*.txt $*.html
 
 MANIFEST: man html