cvs commit: LFS/FAQ lfs.xsl Makefile

sklein at linuxfromscratch.org sklein at linuxfromscratch.org
Tue Dec 3 18:09:36 PST 2002


sklein      02/12/03 21:09:36

  Modified:    FAQ      Makefile
  Added:       FAQ      lfs.xsl
  Log:
  lfs.xsl to cause generation of doctype declaration
  
  Revision  Changes    Path
  1.2       +7 -4      LFS/FAQ/Makefile
  
  Index: Makefile
  ===================================================================
  RCS file: /home/cvsroot/LFS/FAQ/Makefile,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Makefile	26 Nov 2002 22:03:52 -0000	1.1
  +++ Makefile	4 Dec 2002 02:09:36 -0000	1.2
  @@ -9,16 +9,19 @@
   #     You should now have a working xsltproc command.
   #  2) Extract, move, and rename
   #     http://www.oasis-open.org/docbook/xml/4.2/docbook-xml-4.2.zip
  -#     so that /usr/share/docbook/docbookx.dtd exists.
  +#     so that /usr/share/xml/docbook/docbookx.dtd exists.
   #  3) Extract, move, and rename
   #     http://unc.dl.sourceforge.net/sourceforge/docbook/docbook-xsl-1.57.0.tar.gz
   #     so that /usr/share/xsl/docbook/html/docbook.xsl exists
   
  -faq.html: $(SOURCEDIR)/*.xml $(SOURCEDIR)/*.ent
  -	xsltproc --output faq.html /usr/share/xsl/docbook/html/docbook.xsl $(SOURCEDIR)/faq.xml
  +faq.html: $(SOURCEDIR)/*.xml $(SOURCEDIR)/*.ent $(SOURCEDIR)/lfs.xsl
  +	xsltproc --output faq.html $(SOURCEDIR)/lfs.xsl $(SOURCEDIR)/faq.xml
  +
  +index.html: faq.html
  +	cp faq.html index.html
   
   clean:
  -	rm -rf faq.html faq.openjade.html
  +	rm -rf faq.html index.html faq.openjade.html
   
   .PHONY: clean
   
  
  
  
  1.1                  LFS/FAQ/lfs.xsl
  
  Index: lfs.xsl
  ===================================================================
  <?xml version='1.0'?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                  version='1.0'>
  
  <xsl:import href="file:///usr/share/xsl/docbook/html/docbook.xsl"/>
  
  <!-- override the xsl:output element to include a version attribute
       so it generates a doctype declaration -->
  <xsl:output method="html"
              version="4.01"
              encoding="ISO-8859-1"
              indent="no"/>
  
  </xsl:stylesheet>
  
  
  
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-book' in the subject header of the message



More information about the lfs-book mailing list