Changeset 529e4e5


Ignore:
Timestamp:
01/05/2005 10:42:00 PM (19 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Children:
48cb4ae
Parents:
b62a703
Message:

One-step profiling for HTML output in testing.

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

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    rb62a703 r529e4e5  
    77lfs:
    88        xsltproc --xinclude --nonet -stringparam profile.condition html \
    9           --output $(BASEDIR)/lfs-html.xml stylesheets/lfs-profile.xsl index.xml
    10 
    11         xsltproc --nonet -stringparam chunk.quietly $(CHUNK_QUIET) \
    12           -stringparam base.dir $(BASEDIR)/ stylesheets/lfs-chunked.xsl \
    13           $(BASEDIR)/lfs-html.xml
     9        -stringparam chunk.quietly $(CHUNK_QUIET)  -stringparam base.dir $(BASEDIR)/ \
     10        stylesheets/lfs-chunked.xsl index.xml
    1411
    1512        if [ ! -e $(BASEDIR)/stylesheets ]; then \
     
    2724        cd $(BASEDIR)/; sed -i -e "s@../images@images@g" \
    2825          *.html
    29 
    30         rm $(BASEDIR)/lfs-html.xml
    3126
    3227        for filename in `find $(BASEDIR) -name "*.html"`; do \
     
    6358nochunks:
    6459        xsltproc --xinclude --nonet -stringparam profile.condition html \
    65           --output $(BASEDIR)/lfs-nochunk.xml stylesheets/lfs-profile.xsl index.xml
    66 
    67         xsltproc --nonet --output $(BASEDIR)/$(NOCHUNKS_OUTPUT) \
    68           stylesheets/lfs-nochunks.xsl $(BASEDIR)/lfs-nochunk.xml
    69 
    70         rm $(BASEDIR)/lfs-nochunk.xml
     60        --output $(BASEDIR)/$(NOCHUNKS_OUTPUT) \
     61          stylesheets/lfs-nochunks.xsl index.xml
    7162
    7263        tidy -config tidy.conf $(BASEDIR)/$(NOCHUNKS_OUTPUT) || true
  • stylesheets/lfs-chunked.xsl

    rb62a703 r529e4e5  
    2525    Voila! (Man I hope we can do this better in XSLT 2.0)  -->
    2626
    27   <xsl:include href="http://docbook.sourceforge.net/release/xsl/1.67.2/xhtml/chunk-code.xsl"/>
     27  <xsl:include href="http://docbook.sourceforge.net/release/xsl/1.67.2/xhtml/profile-chunk-code.xsl"/>
    2828
    2929    <!-- Including our others customized chunks templates -->
  • stylesheets/lfs-nochunks.xsl

    rb62a703 r529e4e5  
    66
    77    <!-- We use XHTML -->
    8   <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.67.2/xhtml/docbook.xsl"/>
     8  <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.67.2/xhtml/profile-docbook.xsl"/>
    99
    1010  <!-- Fix encoding issues with default UTF-8 output of the xhtml stylesheet -->
Note: See TracChangeset for help on using the changeset viewer.