• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright David Abrahams 2006. Distributed under the Boost
2# Software License, Version 1.0. (See accompanying
3# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
4
5import docutils ;
6
7sources = [ glob *.rst ] ;
8bases = $(sources:S=) ;
9
10# This is a path relative to the html/ subdirectory where the
11# generated output will eventually be moved.
12stylesheet = "--stylesheet=rst.css" ;
13
14for local b in $(bases)
15{
16    html $(b) : $(b).rst :
17
18      #
19      <docutils-html>"-gdt --link-stylesheet --traceback --trim-footnote-reference-space --footnote-references=superscript "$(stylesheet)
20  ;
21}
22
23alias htmls : $(bases) ;
24stage html : $(bases) ;
25
26###############################################################################
27alias boostdoc ;
28explicit boostdoc ;
29alias boostrelease : html ;
30explicit boostrelease ;
31