Jamfile.v2 836 B

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