Changeset 4604 for trunk/doc


Ignore:
Timestamp:
Jan 12, 2004, 9:18:11 PM (15 years ago)
Author:
wbb4
Message:

Bug:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

Added variables for the resources directory and css stylesheet. The stylesheet is also now copied into the xhtml directory when 'xhtml' is built.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/guide/Makefile

    r4478 r4604  
    1 # $Id: Makefile,v 1.8 2004/01/06 09:19:36 fkr Exp $
     1# $Id: Makefile,v 1.9 2004/01/12 21:18:11 wbb4 Exp $
    22
    33# To build DarwinPorts  guide files from the source docbook xml.
     
    3535XML_CATALOG_FILES?=    ${prefix}/etc/xml/catalog
    3636XML_DEBUG_CATALOG?=
    37 STRINGPARAMS?=          --stringparam html.stylesheet docbook.css
     37CSS_STYLESHEET?=        docbook.css
     38RESOURCES?=             resources/
     39STRINGPARAMS?=          --stringparam html.stylesheet ${CSS_STYLESHEET}
    3840
    3941.PHONY : all
     
    5456xhtml:
    5557        mkdir -p ${XHTMLDIR}
     58        cp ${RESOURCES}${CSS_STYLESHEET} ${XHTMLDIR}
    5659        xsltproc --xinclude ${STRINGPARAMS} -o "${XHTMLDIR}/" "${XSTYLESHEET}" "${SOURCEDIR}/guide.xml"
    5760
Note: See TracChangeset for help on using the changeset viewer.