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 ] ;

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 ;

--
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com



-------------------------------------------------------
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

Reply via email to