Changeset b711e1d for Makefile


Ignore:
Timestamp:
05/30/2004 10:54:18 AM (20 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
574b0ea
Parents:
b470bce
Message:

Added a CSS to can print the HTMLs.
Hardoded a CSS code into the nuchunk output to make it full stand alone.
Updated the Makefile.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    rb470bce rb711e1d  
    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 \
    813          mkdir -p $(BASEDIR)/stylesheets; \
    914        fi;
    10         cp stylesheets/lfs.css $(BASEDIR)/stylesheets
     15        cp stylesheets/*.css $(BASEDIR)/stylesheets
    1116
    1217        if [ ! -e $(BASEDIR)/images ]; then \
     
    1520        cp /usr/share/xml/docbook/xsl-stylesheets-1.65.1/images/*.png \
    1621          $(BASEDIR)/images
    17         cd $(BASEDIR)/; sed -i -e "s@../stylesheets@stylesheets@" \
     22        cd $(BASEDIR)/; sed -i -e "s@../stylesheets@stylesheets@g" \
    1823          index.html part1.html part2.html part3.html longindex.html
    1924        cd $(BASEDIR)/; sed -i -e "s@../images@images@g" \
     
    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.