More descriptive name for var describing path to stylesheets release_1.0
authorPaul Crowley <paul@lshift.net>
Wed, 02 Dec 2009 17:45:15 +0000
changeset 227 8ce190faa5c2
parent 226 b472627106df
child 229 3a28047ec6dc
child 234 69e0ee719a62
More descriptive name for var describing path to stylesheets
Makefile
--- 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