--- a/Makefile Thu Nov 12 11:19:36 2009 +0000
+++ b/Makefile Sat Nov 14 18:23:30 2009 +0100
@@ -5,6 +5,7 @@
DOCDIR=$(PREFIX)/doc/mercurial-server
ETCDIR=/etc/mercurial-server
NEWUSER=hg
+XSL=/usr/share/xml/docbook/stylesheet/nwalsh
INSTALL=install
@@ -29,11 +30,11 @@
$(INSTALL) -m 644 -t $(DESTDIR)$(DOCDIR)/html build/html/index.html
build/html/index.html: doc/manual.docbook
- xsltproc --nonet -o $@ /usr/share/xml/docbook/stylesheet/nwalsh/html/docbook.xsl $^
+ xsltproc --nonet -o $@ $(XSL)/html/docbook.xsl $^
build/pdf/manual.pdf: doc/manual.docbook
mkdir -p build/pdf
- fop -xml $^ -xsl /usr/share/xml/docbook/stylesheet/nwalsh/fo/docbook.xsl $@
+ fop -xml $^ -xsl $(XSL)/fo/docbook.xsl $@
pythonbuild:
python setup.py build