On Nov 30, 2004, at 5:39 PM, David Abrahams wrote:
rule init ( docbook-xsl-dir ? : docbook-dtd-dir ? ) {
if ! $(docbook-xsl-dir) { docbook-xsl-dir = [ modules.peek : DOCBOOK_XSL_DIR ] ; }
if ! $(docbook-dtd-dir) { docbook-dtd-dir = [ modules.peek : DOCBOOK_DTD_DIR ] ; }
This would be neater as:
docbook-xsl-dir ?= [ modules.peek : DOCBOOK_XSL_DIR ] ; docbook-dtd-dir ?= [ modules.peek : DOCBOOK_DTD_DIR ] ;
I think I didn't know about ?= at the time...
And:
if ! $(.initialized) { $(.initialized) = true ;
This sets the variable "true" to the value "true" the 2nd time it's called. Probably should be:
.initialized = true ;
Oops.
Would you mind making these changes?
Doug
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
Boost-docs mailing list
[EMAIL PROTECTED]
Unsubscribe and other administrative requests: https://lists.sourceforge.net/lists/listinfo/boost-docs
