cvs commit: LFS/BOOK INSTALL Makefile

matthew at linuxfromscratch.org matthew at linuxfromscratch.org
Sun Jun 20 07:04:39 PDT 2004


matthew     04/06/20 08:04:39

  Modified:    BOOK     INSTALL Makefile
  Log:
  Use a configurable XSLROOTDIR to point to the DocBook XSL stylesheets
  
  Revision  Changes    Path
  1.28      +6 -0      LFS/BOOK/INSTALL
  
  Index: INSTALL
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/INSTALL,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -r1.27 -r1.28
  --- INSTALL	18 Jun 2004 18:04:55 -0000	1.27
  +++ INSTALL	20 Jun 2004 14:04:39 -0000	1.28
  @@ -22,6 +22,12 @@
   
   * 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/
  
  
  
  1.9       +2 -1      LFS/BOOK/Makefile
  
  Index: Makefile
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/Makefile,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- Makefile	30 May 2004 10:54:18 -0000	1.8
  +++ Makefile	20 Jun 2004 14:04:39 -0000	1.9
  @@ -3,6 +3,7 @@
   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 @@
   	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 at ../stylesheets at stylesheets@g" \
   	  index.html part1.html part2.html part3.html longindex.html
  
  
  



More information about the lfs-book mailing list