mirror of
https://github.com/boostorg/unordered.git
synced 2026-01-21 05:22:18 +00:00
28 lines
690 B
Plaintext
28 lines
690 B
Plaintext
# Copyright 2026 Joaquin M Lopez Munoz
|
|
# 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 ; |