2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-16 13:22:11 +00:00

Added a prefix feature, that hooks up to the Doxygen-parsed header prefix

[SVN r20143]
This commit is contained in:
Douglas Gregor
2003-09-22 02:19:49 +00:00
parent 7bf1002d74
commit 6ebe680de0
2 changed files with 16 additions and 2 deletions

View File

@@ -20,6 +20,7 @@ import regex ;
import stage ;
feature.feature doxygen:param : : free ;
feature.feature prefix : : free ;
type.register DOXYFILE : doxyfile ; # Doxygen input file
type.register DOXYGEN_XML_MULTIFILE : : XML ; # Doxygen XML multi-file output
@@ -121,7 +122,13 @@ rule xml-to-boostbook ( target : source : properties * )
[ path.join [ boostbook.xsl-dir ] doxygen
doxygen2boostbook.xsl ] ] ;
xslt $(target) : $(source) $(d2b-xsl) : $(properties) ;
local xslt-properties = $(properties) ;
for local prefix in [ feature.get-values <prefix> : $(properties) ]
{
xslt-properties += "<xsl:param>boost.doxygen.header.prefix=$(prefix)" ;
}
xslt $(target) : $(source) $(d2b-xsl) : $(xslt-properties) ;
}
# User-level rule to generate BoostBook XML from a set of headers via Doxygen.

View File

@@ -20,6 +20,7 @@ import regex ;
import stage ;
feature.feature doxygen:param : : free ;
feature.feature prefix : : free ;
type.register DOXYFILE : doxyfile ; # Doxygen input file
type.register DOXYGEN_XML_MULTIFILE : : XML ; # Doxygen XML multi-file output
@@ -121,7 +122,13 @@ rule xml-to-boostbook ( target : source : properties * )
[ path.join [ boostbook.xsl-dir ] doxygen
doxygen2boostbook.xsl ] ] ;
xslt $(target) : $(source) $(d2b-xsl) : $(properties) ;
local xslt-properties = $(properties) ;
for local prefix in [ feature.get-values <prefix> : $(properties) ]
{
xslt-properties += "<xsl:param>boost.doxygen.header.prefix=$(prefix)" ;
}
xslt $(target) : $(source) $(d2b-xsl) : $(xslt-properties) ;
}
# User-level rule to generate BoostBook XML from a set of headers via Doxygen.