Changeset 2ec64b3 for Makefile


Ignore:
Timestamp:
06/22/2004 07:48:30 PM (20 years ago)
Author:
lfs-dev <lfs-dev@…>
Branches:
v5_1_1
Parents:
673b0d8
Message:

This commit was manufactured by cvs2svn to create tag 'v5_1_1'.

git-svn-id: http://svn.linuxfromscratch.org/LFS/tags/v5_1_1/BOOK@3757 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r673b0d8 r2ec64b3  
    1 BASEDIR=~/lfs-book/
     1BASEDIR=~/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
    7         if [ ! -e $(BASEDIR)stylesheets ]; then \
    8           mkdir -p $(BASEDIR)stylesheets; \
     12        if [ ! -e $(BASEDIR)/stylesheets ]; then \
     13          mkdir -p $(BASEDIR)/stylesheets; \
    914        fi;
    10         cp stylesheets/lfs.css $(BASEDIR)stylesheets
     15        cp stylesheets/lfs.css $(BASEDIR)/stylesheets
    1116
    12         if [ ! -e $(BASEDIR)images ]; then \
    13           mkdir -p $(BASEDIR)images; \
     17        if [ ! -e $(BASEDIR)/images ]; then \
     18          mkdir -p $(BASEDIR)/images; \
    1419        fi;
    1520        cp /usr/share/xml/docbook/xsl-stylesheets-1.65.1/images/*.png \
    16           $(BASEDIR)images
    17         cd $(BASEDIR); sed -i -e "s@../stylesheets@stylesheets@" \
     21          $(BASEDIR)/images
     22        cd $(BASEDIR)/; sed -i -e "s@../stylesheets@stylesheets@" \
    1823          index.html part1.html part2.html part3.html longindex.html
    19         cd $(BASEDIR); sed -i -e "s@../images@images@g" \
     24        cd $(BASEDIR)/; sed -i -e "s@../images@images@g" \
    2025          index.html part1.html part2.html part3.html longindex.html
     26
     27        sh goTidy $(BASEDIR)/
    2128
    2229pdf:
     
    2431          index.xml
    2532        sed -i -e "s/inherit/all/" lfs.fo
    26         fop.sh lfs.fo lfs.pdf
     33        fop.sh lfs.fo $(PDF_OUTPUT)
     34
     35print:
     36        xsltproc --xinclude --nonet --output lfs-print.fo \
     37          stylesheets/lfs-print.xsl index.xml
     38        sed -i -e "s/inherit/all/" lfs-print.fo
     39        fop.sh lfs-print.fo $(PRINT_OUTPUT)
     40
     41nochunks:
     42        xsltproc --xinclude --nonet --output $(NOCHUNKS_OUTPUT) \
     43          stylesheets/lfs-nochunks.xsl index.xml
     44        tidy -config tidy.conf $(NOCHUNKS_OUTPUT) || true
    2745
    2846validate:
Note: See TracChangeset for help on using the changeset viewer.