Changeset 27106 for trunk/doc


Ignore:
Timestamp:
Jul 19, 2007, 7:29:19 PM (12 years ago)
Author:
markd@…
Message:

Update to handle target "new" properly for the new guide.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/guide/Makefile

    r26951 r27106  
    2828
    2929SOURCEDIR?=             xml
     30NEWSOURCEDIR?=          new/xml
    3031DOCBOOK_XSL?=           ${prefix}/share/xsl/docbook-xsl/
    3132HTMLDIR?=               html
     33NEWHTMLDIR?=            new/html
    3234XHTMLDIR?=              xhtml
    33 NEWHTMLDIR?=            new
    3435STYLESHEET?=            ${DOCBOOK_XSL}/html/chunk.xsl
    3536XSTYLESHEET?=           ${DOCBOOK_XSL}/xhtml/chunk.xsl
     
    3839XML_DEBUG_CATALOG?=
    3940CSS_STYLESHEET?=        docbook.css
    40 NEWCSS_STYLESHEET?=     newdocbook.css
     41NEWCSS_STYLESHEET?=     docbook.css
    4142RESOURCES?=             resources/
     43NEWRESOURCES?=          new/resources/
    4244STRINGPARAMS?=          --stringparam html.stylesheet ${CSS_STYLESHEET} --stringparam chunk.section.depth 0
    43 NEWSTRINGPARAMS?=       --stringparam html.stylesheet ${NEWCSS_STYLESHEET} --stringparam section.autolabel 1
     45NEWSTRINGPARAMS?=       --stringparam html.stylesheet ${NEWCSS_STYLESHEET} --stringparam section.autolabel 1 --stringparam toc.section.depth 1 --stringparam generate.toc "book toc"
    4446
    4547.PHONY : all
     
    6668new:
    6769        mkdir -p ${NEWHTMLDIR}
    68         cp ${RESOURCES}${NEWCSS_STYLESHEET} ${NEWHTMLDIR}
    69         xsltproc --xinclude ${NEWSTRINGPARAMS} -o "${NEWHTMLDIR}/guide.html" "${NEWSTYLESHEET}" "${SOURCEDIR}/newguide.xml"
     70        cp ${NEWRESOURCES}${NEWCSS_STYLESHEET} ${NEWHTMLDIR}
     71        xsltproc --xinclude ${NEWSTRINGPARAMS} -o "${NEWHTMLDIR}/guide.html" "${NEWSTYLESHEET}" "${NEWSOURCEDIR}/guide.xml"
    7072
    7173all: html xhtml tidy
Note: See TracChangeset for help on using the changeset viewer.