mirror of
https://github.com/boostorg/build.git
synced 2026-02-16 01:12:13 +00:00
* kernel/bootstrap.jam: Allow option handler modules to indicate that regular build process should be skipped. * options/help.jam: Return 'true', don't EXIT. Existing prevents header scanning, which is the mechanism that makes 'doc' module work. * new/doc.jam: Import header scanning rule into global module. (split-symbol): Handle the case where the are two modules with the same name (e.g. V1 stlport.jam and V2 stlport.jam). [SVN r18663]
27 lines
860 B
Plaintext
Executable File
27 lines
860 B
Plaintext
Executable File
# Copyright David Abrahams 2003. Permission to copy, use,
|
|
# modify, sell and distribute this software is granted provided this
|
|
# copyright notice appears in all copies. This software is provided
|
|
# "as is" without express or implied warranty, and with no claim as
|
|
# to its suitability for any purpose.
|
|
|
|
# This module is the plug-in handler for the --help and --help-.*
|
|
# command-line options
|
|
import doc ;
|
|
import assert ;
|
|
|
|
|
|
# Handle options here. This might just as well be done at module
|
|
# scope, since we don't happen to use the argument values, but I hope
|
|
# that Rene will transplant the help logic here and then it will be
|
|
# useful.
|
|
rule process ( option-name : value ? )
|
|
{
|
|
assert.result --help : MATCH ^(--help).* : $(option-name) ;
|
|
if [ doc.help ]
|
|
{
|
|
# Indicate that regular build process should be skipped.
|
|
return true ;
|
|
}
|
|
}
|
|
|
|
|