From c3474f140894cf4dc7bd452c22b379729064fa43 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Wed, 6 Nov 2024 11:04:59 -0600 Subject: [PATCH] Fix missing relevant features for asciidoctor targets. --- doc/src/history.adoc | 3 +++ src/tools/asciidoctor.jam | 2 ++ 2 files changed, 5 insertions(+) diff --git a/doc/src/history.adoc b/doc/src/history.adoc index a1c6b557f9..aa34895ed1 100644 --- a/doc/src/history.adoc +++ b/doc/src/history.adoc @@ -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 diff --git a/src/tools/asciidoctor.jam b/src/tools/asciidoctor.jam index 2ceaa3726c..49af8e8aa9 100644 --- a/src/tools/asciidoctor.jam +++ b/src/tools/asciidoctor.jam @@ -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) ] ;