Files
boost_predef/doc/build.jam
T

38 lines
841 B
Plaintext
Raw Normal View History

2019-12-31 16:14:17 -06: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)
|#
2019-12-31 16:14:17 -06:00
import asciidoctor ;
import modules ;
import path ;
2019-12-31 16:14:17 -06:00
project predefdoc ;
2019-12-31 16:14:17 -06:00
path-constant PYGMENTS_DIR : . ;
2013-07-28 12:07:05 -05:00
2019-12-31 16:14:17 -06:00
doc-dir = [ MATCH "--doc-dir=(.*)" : [ modules.peek : ARGV ] ] ;
doc-dir ?= . ;
2019-12-31 16:14:17 -06:00
local headers = [ glob-tree-ex $(BOOST_PREDEF_INCLUDE) : *.h ] ;
2016-01-07 12:50:26 -06:00
2019-12-31 16:14:17 -06:00
html index : predef.adoc :
:
2019-12-31 16:14:17 -06:00
<flags>--require=$(PYGMENTS_DIR)/pygments_init.rb
<flags>--trace
<flags>--verbose
<dependency>$(PYGMENTS_DIR)/pygments_init.rb
<dependency>$(headers)
;
2019-12-31 16:14:17 -06:00
explicit index ;
2019-12-31 16:14:17 -06:00
install html : index : <location>$(doc-dir) ;
explicit html ;
2016-01-07 12:50:26 -06:00
2019-12-31 16:14:17 -06:00
alias boostdoc ;
2016-01-07 12:50:26 -06:00
explicit boostdoc ;
2019-12-31 16:14:17 -06:00
alias boostrelease : html ;
explicit boostrelease ;