aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2004-06-20 14:04:39 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2004-06-20 14:04:39 +0000
commita942c0a2714f3579b07eba10add7ad631b9fb91a (patch)
treee12aad9239d582a190395b6ddb818d926d911ded /Makefile
parent1baa579d9de705c6c15261dcfb681c622ae61cf2 (diff)
Use a configurable XSLROOTDIR to point to the DocBook XSL stylesheets
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3825 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index cdca3b9c5..6f61edeeb 100644
--- a/Makefile
+++ b/Makefile
@@ -3,6 +3,7 @@ CHUNK_QUIET=0
PDF_OUTPUT=LFS-BOOK.pdf
PRINT_OUTPUT=LFS-BOOK-PRINTABLE.pdf
NOCHUNKS_OUTPUT=LFS-BOOK.html
+XSLROOTDIR=/usr/share/xml/docbook/xsl-stylesheets-current
lfs:
xsltproc --xinclude --nonet -stringparam chunk.quietly $(CHUNK_QUIET) \
@@ -17,7 +18,7 @@ lfs:
if [ ! -e $(BASEDIR)/images ]; then \
mkdir -p $(BASEDIR)/images; \
fi;
- cp /usr/share/xml/docbook/xsl-stylesheets-1.65.1/images/*.png \
+ cp $(XSLROOTDIR)/images/*.png \
$(BASEDIR)/images
cd $(BASEDIR)/; sed -i -e "s@../stylesheets@stylesheets@g" \
index.html part1.html part2.html part3.html longindex.html