Makefile
changeset 227 8ce190faa5c2
parent 226 b472627106df
child 347 301479a4acdf
child 350 bb7ee0a13ea9
--- a/Makefile	Wed Dec 02 17:40:23 2009 +0000
+++ b/Makefile	Wed Dec 02 17:45:15 2009 +0000
@@ -5,7 +5,7 @@
 DOCDIR=$(PREFIX)/doc/mercurial-server
 ETCDIR=/etc/mercurial-server
 NEWUSER=hg
-XSL=/usr/share/xml/docbook/stylesheet/nwalsh
+DOCBOOK_XSL=/usr/share/xml/docbook/stylesheet/nwalsh
 
 INSTALL=install
 
@@ -34,11 +34,11 @@
 	$(INSTALL) -m 644 -t $(DESTDIR)$(DOCDIR)/html build/html/index.html
 
 build/html/index.html: doc/manual.docbook
-	xsltproc --nonet -o $@ $(XSL)/html/docbook.xsl $^
+	xsltproc --nonet -o $@ $(DOCBOOK_XSL)/html/docbook.xsl $^
 
 build/pdf/manual.pdf: doc/manual.docbook
 	mkdir -p build/pdf
-	fop -xml $^ -xsl $(XSL)/fo/docbook.xsl $@
+	fop -xml $^ -xsl $(DOCBOOK_XSL)/fo/docbook.xsl $@
 
 pythonbuild:
 	python setup.py build