From cde7dbedf4f19fb22bcf525c0e4ff127686d85d1 Mon Sep 17 00:00:00 2001 From: Arnaud Becheler <8360330+Becheler@users.noreply.github.com> Date: Sat, 25 Jul 2026 15:03:56 +0200 Subject: [PATCH] fix: add Jamfile to follow unordered doc infra --- doc/Jamfile.v2 | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 doc/Jamfile.v2 diff --git a/doc/Jamfile.v2 b/doc/Jamfile.v2 new file mode 100644 index 000000000..4125c3c64 --- /dev/null +++ b/doc/Jamfile.v2 @@ -0,0 +1,27 @@ +# Distributed under the Boost Software License, Version 1.0. (See accompanying +# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +import path ; + +make html_ : build_antora.sh : @run-script ; + +actions run-script +{ + bash $(>) +} + +path-constant DOC_DIR : . ; +.node_modules = [ path.join $(DOC_DIR) node_modules ] ; + +make cleanup_node_modules_ : html_ : @cleanup-node-modules ; + +actions cleanup-node-modules +{ + rm -rf $(.node_modules) +} + +############################################################################### +alias boostdoc ; +explicit boostdoc ; +alias boostrelease : html_ cleanup_node_modules_ ; +explicit boostrelease ;