--- a/Makefile Tue Dec 01 15:35:30 2009 +0000
+++ b/Makefile Wed Dec 02 17:40:23 2009 +0000
@@ -5,6 +5,7 @@
DOCDIR=$(PREFIX)/doc/mercurial-server
ETCDIR=/etc/mercurial-server
NEWUSER=hg
+XSL=/usr/share/xml/docbook/stylesheet/nwalsh
INSTALL=install
@@ -33,11 +34,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