Current BE-LFS (but w/ GCC 3.3.3) merged -> 6.0 branch
[linux_from_scratch.git] / FAQ-OBSOLETE / Makefile
blob7fd7e96017f850b765e849811fddc3fbb870e636
2 SOURCEDIR=.
4 # The default is to generate HTML with XSLT using xsltproc. The OpenJade output
5 # is seriously broken.
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
20 index.html: faq.html
21 cp faq.html index.html
23 clean:
24 rm -rf faq.html index.html faq.openjade.html
26 .PHONY: clean
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