Changeset 63075c9


Ignore:
Timestamp:
05/23/2004 09:24:21 PM (20 years ago)
Author:
Matthew Burgess <matthew@…>
Children:
5c72ee5
Parents:
004ff6a
Message:

Makefile changes to integrate with render-lfs-book.sh

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/b5_1/BOOK@3703 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r004ff6a r63075c9  
    11BASEDIR=~/lfs-book
     2CHUNK_QUIET=0
     3PDF_OUTPUT=LFS-BOOK.pdf
     4PRINT_OUTPUT=LFS-BOOK-PRINTABLE.pdf
     5NOCHUNKS_OUTPUT=LFS-BOOK.html
    26
    37lfs:
    4         xsltproc --xinclude --nonet -stringparam base.dir $(BASEDIR)/ \
    5           stylesheets/lfs-chunked.xsl index.xml
     8        xsltproc --xinclude --nonet -stringparam chunk.quietly $(CHUNK_QUIET) \
     9          -stringparam base.dir $(BASEDIR)/ stylesheets/lfs-chunked.xsl \
     10          index.xml
    611
    712        if [ ! -e $(BASEDIR)/stylesheets ]; then \
     
    2631          index.xml
    2732        sed -i -e "s/inherit/all/" lfs.fo
    28         fop.sh lfs.fo lfs.pdf
     33        fop.sh lfs.fo $(PDF_OUTPUT)
    2934
    3035print:
     
    3237          stylesheets/lfs-print.xsl index.xml
    3338        sed -i -e "s/inherit/all/" lfs-print.fo
    34         fop.sh lfs-print.fo lfs-print.pdf
     39        fop.sh lfs-print.fo $(PRINT_OUTPUT)
    3540
    3641nochunks:
    37         xsltproc --xinclude --nonet --output lfs.html \
     42        xsltproc --xinclude --nonet --output $(NOCHUNKS_OUTPUT) \
    3843          stylesheets/lfs-nochunks.xsl index.xml
    39         tidy -config tidy.conf lfs.html || true
     44        tidy -config tidy.conf $(NOCHUNKS_OUTPUT) || true
    4045
    4146validate:
Note: See TracChangeset for help on using the changeset viewer.