Jamfile.v2 978 B

12345678910111213141516171819202122232425
  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 = getting_started.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-cmd>"PYTHONPATH=~/src/boost/tools && python ~/src/boost/tools/litre/active-rst.py"
  15. # <docutils-html>"-gdt --writer=html --source-url="./$(b).rst" --link-stylesheet --traceback --trim-footnote-reference-space --footnote-references=superscript "$(stylesheet)
  16. <docutils-html>"-gdt --source-url="./$(b).rst" --link-stylesheet --traceback --trim-footnote-reference-space --footnote-references=superscript "$(stylesheet)
  17. ;
  18. }
  19. alias htmls : $(bases) ;
  20. stage . : $(bases) ;
粤ICP备19079148号