4 # The default is to generate HTML with XSLT using xsltproc. The OpenJade output
7 # To install the tools for this,
8 # 1) Install libxslt and its dependencies according to their instructions.
9 # You should now have a working xsltproc command.
10 # 2) Extract, move, and rename
11 # http://www.oasis-open.org/docbook/xml/4.2/docbook-xml-4.2.zip
12 # so that /usr/share/xml/docbook/docbookx.dtd exists.
13 # 3) Extract, move, and rename
14 # http://unc.dl.sourceforge.net/sourceforge/docbook/docbook-xsl-1.57.0.tar.gz
15 # so that /usr/share/xsl/docbook/html/docbook.xsl exists
17 faq.html
: $(SOURCEDIR
)/*.xml
$(SOURCEDIR
)/*.ent
$(SOURCEDIR
)/lfs.xsl
18 xsltproc
--output faq.html
$(SOURCEDIR
)/lfs.xsl
$(SOURCEDIR
)/faq.xml
21 cp faq.html index.html
24 rm -rf faq.html index.html faq.openjade.html
28 # To set up openjade, see the INSTALL file under
29 # http://cvs.linuxfromscratch.org/index.cgi/LFS/BOOK/
31 faq.openjade.html
: $(SOURCEDIR
)/*.xml
$(SOURCEDIR
)/*.ent
32 /usr
/bin
/openjade
-t xml
-V nochunks
-d \
33 /usr
/share
/dsssl
/docbook
/html
/lfs.dsl \
34 /usr
/share
/dsssl
/docbook
/dtds
/decls
/xml.dcl \
35 $(SOURCEDIR
)/faq.xml
> faq.openjade.html