boost/libs/predef/doc/build.jam

39 lines
841 B
Plaintext
Raw Permalink Normal View History

2021-10-05 21:37:46 +02:00
#|
Copyright Rene Rivera 2011-2019
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 asciidoctor ;
import modules ;
2018-01-12 21:47:58 +01:00
import path ;
2021-10-05 21:37:46 +02:00
project predefdoc ;
2018-01-12 21:47:58 +01:00
2021-10-05 21:37:46 +02:00
path-constant PYGMENTS_DIR : . ;
2018-01-12 21:47:58 +01:00
2021-10-05 21:37:46 +02:00
doc-dir = [ MATCH "--doc-dir=(.*)" : [ modules.peek : ARGV ] ] ;
doc-dir ?= . ;
2018-01-12 21:47:58 +01:00
2021-10-05 21:37:46 +02:00
local headers = [ glob-tree-ex $(BOOST_PREDEF_INCLUDE) : *.h ] ;
2018-01-12 21:47:58 +01:00
2021-10-05 21:37:46 +02:00
html index : predef.adoc :
2018-01-12 21:47:58 +01:00
:
2021-10-05 21:37:46 +02:00
<flags>--require=$(PYGMENTS_DIR)/pygments_init.rb
<flags>--trace
<flags>--verbose
<dependency>$(PYGMENTS_DIR)/pygments_init.rb
<dependency>$(headers)
2018-01-12 21:47:58 +01:00
;
2021-10-05 21:37:46 +02:00
explicit index ;
2018-01-12 21:47:58 +01:00
2021-10-05 21:37:46 +02:00
install html : index : <location>$(doc-dir) ;
explicit html ;
2018-01-12 21:47:58 +01:00
2021-10-05 21:37:46 +02:00
alias boostdoc ;
2018-01-12 21:47:58 +01:00
explicit boostdoc ;
2021-10-05 21:37:46 +02:00
alias boostrelease : html ;
2018-01-12 21:47:58 +01:00
explicit boostrelease ;