/Src/Dependencies/Boost/more/getting_started/Jamfile.v2

http://hadesmem.googlecode.com/ · text · 23 lines · 18 code · 5 blank · 0 comment · 0 complexity · e6154cbae7c30f8507a7c70cca72f726 MD5 · raw file

  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. import docutils ;
  5. import path ;
  6. sources = [ path.glob . : *.rst ] ;
  7. bases = $(sources:S=) ;
  8. # This is a path relative to the html/ subdirectory where the
  9. # generated output will eventually be moved.
  10. stylesheet = "--stylesheet=../../rst.css" ;
  11. for local b in $(bases)
  12. {
  13. html $(b) : $(b).rst :
  14. <docutils-html>"--link-stylesheet --traceback --trim-footnote-reference-space --footnote-references=superscript "$(stylesheet)
  15. ;
  16. }
  17. alias htmls : $(bases) ;
  18. stage . : $(bases) ;