Changeset 38441 for trunk/doc-new


Ignore:
Timestamp:
Jul 20, 2008, 4:12:27 PM (11 years ago)
Author:
raimue@…
Message:

doc-new:
Add xsl files for single-page and chunk, they both include base. Options can be
changed and added there.

Location:
trunk/doc-new
Files:
3 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc-new/Makefile

    r38345 r38441  
    1515CP       = /bin/cp
    1616RM       = /bin/rm
     17LN       = /bin/ln
    1718SED      = /usr/bin/sed
    1819TCLSH    = /usr/bin/tclsh
     
    3536# Path to the docbook xsl files.
    3637DOCBOOK         = $(PREFIX)/share/xsl/docbook-xsl
    37 GUIDE-XSL       = $(DOCBOOK)/xhtml/profile-docbook.xsl
    38 GUIDE-XSL-CHUNK = $(DOCBOOK)/xhtml/chunk.xsl
     38GUIDE-XSL       = $(GUIDE)/resources/single-page.xsl
     39GUIDE-XSL-CHUNK = $(GUIDE)/resources/chunk.xsl
    3940MAN-XSL         = $(MAN)/resources/macports.xsl
    4041
    4142# Docbook html stylesheet for the guide.
    4243STYLESHEET = docbook.css
    43 # Additional parameters for the guide.
    44 STRINGPARAMS = --stringparam html.stylesheet $(STYLESHEET) \
    45                      --stringparam section.autolabel 1 \
    46                      --stringparam toc.section.depth 1 \
    47                      --stringparam generate.toc "book toc" \
    48                      --stringparam section.label.includes.component.label 1 \
    49                      --stringparam profile.condition "noman"
    50 # Additional parameters for the chunked guide.
    51 STRINGPARAMS-CHUNK = --stringparam chunk.section.depth 0
    52 
    5344
    5445.PHONY: all guide man clean validate
     
    6152        $(CP) $(GUIDE)/resources/$(STYLESHEET) $(GUIDE-RESULT)/$(STYLESHEET)
    6253        $(CP) $(GUIDE)/resources/images/* $(GUIDE-RESULT)/
    63         $(XSLTPROC) --xinclude $(STRINGPARAMS) \
     54        $(LN) -sfh $(DOCBOOK) $(GUIDE)/resources/xsl
     55        $(XSLTPROC) --xinclude \
    6456            --output $(GUIDE-RESULT)/index.html \
    6557            $(GUIDE-XSL) $(GUIDE-SRC)/guide.xml
     
    7567        $(CP) $(GUIDE)/resources/$(STYLESHEET) $(GUIDE-RESULT-CHUNK)/$(STYLESHEET)
    7668        $(CP) $(GUIDE)/resources/images/* $(GUIDE-RESULT-CHUNK)/
    77         $(XSLTPROC) --xinclude $(STRINGPARAMS) $(STRINGPARAMS-CHUNK) \
     69        $(LN) -sfh $(DOCBOOK) $(GUIDE)/resources/xsl
     70        $(XSLTPROC) --xinclude \
    7871            --output $(GUIDE-RESULT-CHUNK)/index.html \
    7972            $(GUIDE-XSL-CHUNK) $(GUIDE-SRC)/guide.xml
     
    112105# Remove all temporary files generated by guide: and man:.
    113106clean:
     107        $(RM) -rf $(GUIDE)/resources/xsl
    114108        $(RM) -rf $(GUIDE-RESULT)
    115109        $(RM) -rf $(MAN-RESULT)
  • trunk/doc-new/guide/resources

    • Property svn:ignore set to
      xsl
Note: See TracChangeset for help on using the changeset viewer.