mirror of
https://github.com/boostorg/build.git
synced 2026-02-16 01:12:13 +00:00
Temporary fix to prevent multiple calls into the help system. To be removed when I have time to move code into the help options file.
[SVN r18771]
This commit is contained in:
11
new/doc.jam
11
new/doc.jam
@@ -52,6 +52,17 @@ help-output-file = help ;
|
||||
# from occuring.
|
||||
#
|
||||
rule help ( )
|
||||
{
|
||||
if ! $(.did-help)
|
||||
{
|
||||
.did-help = [ help-options ] ;
|
||||
}
|
||||
}
|
||||
|
||||
# Temporary so that the option parsing can be guarded to execute once
|
||||
# until some of this is moved to help.jam options file.
|
||||
#
|
||||
local rule help-options ( )
|
||||
{
|
||||
local args = [ class.new vector [ modules.peek : ARGV ] ] ;
|
||||
local did-help = ;
|
||||
|
||||
@@ -52,6 +52,17 @@ help-output-file = help ;
|
||||
# from occuring.
|
||||
#
|
||||
rule help ( )
|
||||
{
|
||||
if ! $(.did-help)
|
||||
{
|
||||
.did-help = [ help-options ] ;
|
||||
}
|
||||
}
|
||||
|
||||
# Temporary so that the option parsing can be guarded to execute once
|
||||
# until some of this is moved to help.jam options file.
|
||||
#
|
||||
local rule help-options ( )
|
||||
{
|
||||
local args = [ class.new vector [ modules.peek : ARGV ] ] ;
|
||||
local did-help = ;
|
||||
|
||||
Reference in New Issue
Block a user