Boost logo

Boost-Commit :

From: jurko.gospodnetic_at_[hidden]
Date: 2008-07-16 05:21:23


Author: jurko
Date: 2008-07-16 05:21:22 EDT (Wed, 16 Jul 2008)
New Revision: 47469
URL: http://svn.boost.org/trac/boost/changeset/47469

Log:
Minor stylistic changes made to Boost Build util/path.jam script and doc/src/tasks.xml documentation.
Text files modified:
   trunk/tools/build/v2/doc/src/tasks.xml | 38 +++++++++++++++++++-------------------
   trunk/tools/build/v2/util/path.jam | 12 +++++++-----
   2 files changed, 26 insertions(+), 24 deletions(-)

Modified: trunk/tools/build/v2/doc/src/tasks.xml
==============================================================================
--- trunk/tools/build/v2/doc/src/tasks.xml (original)
+++ trunk/tools/build/v2/doc/src/tasks.xml 2008-07-16 05:21:22 EDT (Wed, 16 Jul 2008)
@@ -657,24 +657,24 @@
       <title>Generated headers</title>
 
       <para>Usually, Boost.Build handles implicit dependendies completely
- automatically. For example, for C++ files, all <literal>#include</literal>
- statements are found and handled. The only aspect where user help
- might be needed is implicit dependency on generated files.</para>
-
- <para>By default, Boost.Build handles such dependencies within one
- main target. For example, assume that main target "app" has two
- sources, "app.cpp" and "parser.y". The latter source is converted
- into "parser.c" and "parser.h". Then, if "app.cpp" includes
- "parser.h", Boost.Build will detect this dependency. Moreover,
- since "parser.h" will be generated into a build directory, the
- path to that directory will automatically added to include
- path.</para>
+ automatically. For example, for C++ files, all
+ <literal>#include</literal> statements are found and handled. The only
+ aspect where user help might be needed is implicit dependency on
+ generated files.</para>
+
+ <para>By default, Boost.Build handles such dependencies within one main
+ target. For example, assume that main target "app" has two sources,
+ "app.cpp" and "parser.y". The latter source is converted into "parser.c"
+ and "parser.h". Then, if "app.cpp" includes "parser.h", Boost.Build will
+ detect this dependency. Moreover, since "parser.h" will be generated
+ into a build directory, the path to that directory will automatically
+ added to include path.</para>
 
       <para>Making this mechanism work across main target boundaries is
- possible, but imposes certain overhead. For that reason, if
- there's implicit dependency on files from other main targets, the
- <literal>&lt;implicit-dependency&gt;</literal> [ link ] feature must
- be used, for example:</para>
+ possible, but imposes certain overhead. For that reason, if there is
+ implicit dependency on files from other main targets, the
+ <literal>&lt;implicit-dependency&gt;</literal> [ link ] feature must be
+ used, for example:</para>
 
 <programlisting>
 lib parser : parser.y ;
@@ -682,9 +682,9 @@
 </programlisting>
 
       <para>
- The above example tells the build system that when scanning
- all sources of "app" for implicit-dependencies, it should consider
- targets from "parser" as potential dependencies.
+ The above example tells the build system that when scanning all sources
+ of "app" for implicit-dependencies, it should consider targets from
+ "parser" as potential dependencies.
       </para>
 </section>
 

Modified: trunk/tools/build/v2/util/path.jam
==============================================================================
--- trunk/tools/build/v2/util/path.jam (original)
+++ trunk/tools/build/v2/util/path.jam 2008-07-16 05:21:22 EDT (Wed, 16 Jul 2008)
@@ -292,13 +292,15 @@
     {
         excluded = [ GLOB $(roots) : $(exclude-patterns) ] ;
     }
- local result = [ set.difference
- [ GLOB $(roots) : $(patterns) ] : $(excluded) ] ;
+ local result = [ set.difference [ GLOB $(roots) : $(patterns) ] :
+ $(excluded) ] ;
     local subdirs ;
- for local d in [ set.difference
- [ GLOB $(roots) : * ] : $(excluded) ]
+ for local d in [ set.difference [ GLOB $(roots) : * ] : $(excluded) ]
     {
- if ! ( $(d:D=) in . .. ) && ! [ CHECK_IF_FILE $(d) ] { subdirs += $(d) ; }
+ if ! ( $(d:D=) in . .. ) && ! [ CHECK_IF_FILE $(d) ]
+ {
+ subdirs += $(d) ;
+ }
     }
     if $(subdirs)
     {


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk