aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--INSTALL6
-rw-r--r--Makefile3
2 files changed, 8 insertions, 1 deletions
diff --git a/INSTALL b/INSTALL
index 5567fd26e..e36823ab5 100644
--- a/INSTALL
+++ b/INSTALL
@@ -22,6 +22,12 @@ If all you want to do is convert XML to HTML perform the following:
* DocBook XSL Stylesheets
- http://www.linuxfromscratch.org/blfs/view/cvs/pst/docbook-xsl.html
+ - additionally create a link from
+ /usr/share/xml/docbook/xsl-stylesheets-1.65.1 to
+ /usr/share/xml/docbook/xsl-stylesheets-current
+
+ cd /usr/share/xml/docbook/ &&
+ ln -s xsl-stylesheets-1.65.1 xsl-stylesheets-current
* HTMLTidy
- http://tidy.sourceforge.net/
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