# Copyright 2022 Klemens D. Morgenstern
# Distributed under the Boost Software License, Version 1.0.
# https://www.boost.org/LICENSE_1_0.txt

import asciidoctor ;

html index.html : index.adoc  ;

install html_ : index.html : <location>html ;

pdf cobalt.pdf : index.adoc ;
explicit cobalt.pdf ;

install pdf_ : cobalt.pdf : <location>pdf ;
explicit pdf_ ;

install images
    :
        images/awaitables.png
        images/generators1.png
        images/generators2.png
        images/lazy_eager1.png
        images/lazy_eager2.png
        images/stackless1.png
        images/stackless2.png
    :
        <location>html/images
    ;

alias boostdoc ;
explicit boostdoc ;
alias boostrelease : html_ ;
explicit boostrelease ;

