Documentation Tools

Changeset 207


Ignore:
Timestamp:
08/26/07 14:22:28 (5 years ago)
Author:
kate
Message:

Centralised setting of DOCTOOLS_BASE, and added catch-points for overriding various directories underneath that.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mk/docbook.mk

    r205 r207  
    33# those articles to various formats (namely XHTML and PDF). 
    44 
     5# Paths 
     6# These are relative to the directory which includes this Makefile. 
     7# DOCTOOLS_BASE provides a central point to set both the doctools 
     8# source and also the output directory, or DOCTOOLSDIR and DOCTOOLS_OUTPUT 
     9# may be set independantly, so that they may point to different locations. 
     10DOCTOOLS_BASE ?= .. 
     11DOCTOOLS_OUTPUT ?= $(DOCTOOLS_BASE) 
     12DOCTOOLSDIR ?= $(DOCTOOLS_BASE)/doctools 
     13XHTMLDIR ?= $(DOCTOOLS_OUTPUT)/xhtml 
     14PDFDIR ?= $(DOCTOOLS_OUTPUT)/pdf 
     15 
    516# XSLT 
    617XSLT =                  xsltproc --xinclude 
    7 XHTMLSTYLE ?=   ../doctools/xsl/docbook-chunked.xsl 
    8 XHTMLSTYLE_SINGLE ?=    ../doctools/xsl/docbook-single.xsl 
    9 TEXMLSTYLE ?=   ../doctools/xsl/texml.xsl 
     18XHTMLSTYLE ?=   $(DOCTOOLSDIR)/xsl/docbook-chunked.xsl 
     19XHTMLSTYLE_SINGLE ?=    $(DOCTOOLSDIR)/xsl/docbook-single.xsl 
     20TEXMLSTYLE ?=   $(DOCTOOLSDIR)/xsl/texml.xsl 
    1021 
    1122# PDF via TeXML 
     
    1526SOURCE_TEXML =  $(NAME)-texml.xml 
    1627SOURCE_TEX =    $(NAME).tex 
    17 TEXDIR ?=               ../doctools/tex 
     28TEXDIR ?=               $(DOCTOOLSDIR)/tex 
    1829 
    19 XHTMLDIR =              ../xhtml 
    20 PDFDIR =                ../pdf 
    21 RESOURCES ?=    ../doctools/resources/*.css ../doctools/resources/*.png 
     30RESOURCES ?=    $(DOCTOOLSDIR)/resources/*.css $(DOCTOOLSDIR)/resources/*.png 
    2231# TODO rename CSSFILE and TEXFILE to wpi.* 
    2332CSSFILE ?=              docs.css         
Note: See TracChangeset for help on using the changeset viewer.