Changeset eff3826 for Makefile


Ignore:
Timestamp:
04/13/2004 01:59:18 AM (20 years ago)
Author:
Larry Lawrence <larry@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, v5_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
e9e9b47
Parents:
b84311dc
Message:

Added stylesheets for xsltproc processing

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1984 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    rb84311dc reff3826  
    2323        @cd $(OUTPUTDIR) && $(JADE) -t sgml -d $(DOCBOOK)/html/lfs.dsl \
    2424                $(DOCBOOK)/dtds/decls/xml.dcl $(SRCDIR)/index.xml
     25
     26BASEDIR=~/blfs-book/
     27
     28blfs:
     29        xsltproc --xinclude --nonet -stringparam base.dir $(BASEDIR) \
     30          stylesheets/blfs-chunked.xsl index.xml
     31
     32        if [ ! -e $(BASEDIR)stylesheets ]; then \
     33          mkdir -p $(BASEDIR)stylesheets; \
     34        fi;
     35        cp stylesheets/blfs.css $(BASEDIR)stylesheets
     36
     37        if [ ! -e $(BASEDIR)images ]; then \
     38          mkdir -p $(BASEDIR)images; \
     39        fi;
     40        cp /usr/share/xml/docbook/xsl-stylesheets-1.65.1/images/*.png \
     41          $(BASEDIR)images
     42        cd $(BASEDIR); sed -i -e "s@../stylesheets@stylesheets@" \
     43          index.html
     44        cd $(BASEDIR); sed -i -e "s@../images@images@g" \
     45          index.html
     46
     47pdf:
     48        xsltproc --xinclude --nonet --output lfs.fo
     49        stylesheets/blfs-pdf.xsl \
     50          index.xml
     51        fop.sh lfs.fo lfs.pdf
     52
Note: See TracChangeset for help on using the changeset viewer.