Blame more/getting_started/Jamfile.v2

Packit 58578d
# Copyright David Abrahams 2006. Distributed under the Boost
Packit 58578d
# Software License, Version 1.0. (See accompanying
Packit 58578d
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Packit 58578d
import docutils ;
Packit 58578d
Packit 58578d
import path ;
Packit 58578d
sources = [ path.glob . : *.rst ] ;
Packit 58578d
bases = $(sources:S=) ;
Packit 58578d
  
Packit 58578d
# This is a path relative to the html/ subdirectory where the
Packit 58578d
# generated output will eventually be moved.
Packit 58578d
stylesheet = "--stylesheet=../../rst.css" ;
Packit 58578d
Packit 58578d
for local b in $(bases)
Packit 58578d
{
Packit 58578d
    html $(b) : $(b).rst : 
Packit 58578d
      
Packit 58578d
    <docutils-html>"--link-stylesheet --traceback --trim-footnote-reference-space --footnote-references=superscript "$(stylesheet)
Packit 58578d
  ;
Packit 58578d
}
Packit 58578d
Packit 58578d
alias htmls : $(bases) ;
Packit 58578d
stage . : $(bases) ;