# file      : doc/buildfile
# copyright : Copyright (c) 2014-2018 Code Synthesis Ltd
# license   : MIT; see accompanying LICENSE file

cmds =             \
brep-clean         \
brep-load          \
brep-migrate

define css: file
css{*}: extension = css

define xhtml: doc
xhtml{*}: extension = xhtml

./: {man1 xhtml}{$cmds}     \
    css{common pre-box man} \
    file{man-*}

./: doc{build2-repository-interface-manual*} \
    css{code-box common doc pre-box toc}     \
    file{manual.cli doc-* *.html2ps}

./: file{cli.sh}