mirror of
https://github.com/boostorg/build.git
synced 2026-02-13 12:22:17 +00:00
Move handling of <auto-index>on to the generator requirements.
[SVN r81026]
This commit is contained in:
@@ -157,15 +157,7 @@ class auto-index-generator : generator
|
||||
#ECHO "binary = " $(auto-index-binary) ;
|
||||
#ECHO "dependencies = " $(auto-index-binary-dependencies) ;
|
||||
|
||||
if [ $(property-set).get <auto-index> ] = "on"
|
||||
{
|
||||
return [ generator.run $(project) $(name) : $(property-set) : $(sources) ] ;
|
||||
}
|
||||
else
|
||||
{
|
||||
return [ generators.construct $(project) $(name) : DOCBOOK : $(property-set)
|
||||
: $(sources) ] ;
|
||||
}
|
||||
return [ generator.run $(project) $(name) : $(property-set) : $(sources) ] ;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -192,7 +184,7 @@ rule init (
|
||||
toolset.flags auto-index.auto-index AI-COMMAND <auto-index-binary> ;
|
||||
toolset.flags auto-index.auto-index AI-DEPENDENCIES <auto-index-binary-dependencies> ;
|
||||
|
||||
generators.register [ class.new auto-index-generator auto-index.auto-index : DOCBOOK : DOCBOOK(%.auto_index) ] ;
|
||||
generators.register [ class.new auto-index-generator auto-index.auto-index : DOCBOOK : DOCBOOK(%.auto_index) : <auto-index>on ] ;
|
||||
generators.override auto-index.auto-index : boostbook.boostbook-to-docbook ;
|
||||
|
||||
rule auto-index ( target : source : properties * )
|
||||
|
||||
Reference in New Issue
Block a user