Skip to content

Commit

Permalink
Fix missing relevant features for asciidoctor targets.
Browse files Browse the repository at this point in the history
  • Loading branch information
grafikrobot committed Nov 6, 2024
1 parent b996299 commit c3474f1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/src/history.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@

* Fix command database output file path when an output dir is not given.
-- _René Ferdinand Rivera Morell_
* Fix asciidoctor ignoring relevant features when building which caused invalid
reuse of the target.
-- _René Ferdinand Rivera Morell_

== Version 5.2.1

Expand Down
2 changes: 2 additions & 0 deletions src/tools/asciidoctor.jam
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,8 @@ class asciidoctor-generator : generator
raw-set += $(p) ;
}
}
local relevant-ps = [ $(property-set).relevant $(property-set) ] ;
raw-set += [ $(relevant-ps).raw ] ;
raw-set = [ feature.expand-composites $(raw-set) ] ;
raw-set += [ $(property-set).incidental ] ;
property-set = [ property-set.create $(raw-set) ] ;
Expand Down

0 comments on commit c3474f1

Please sign in to comment.