build_docs.sh 345 B

1234567891011121314151617181920
  1. #!/usr/bin/env bash
  2. # Build docs
  3. # Copyright 2008 Beman Dawes
  4. # Distributed under the Boost Software License, Version 1.0. See http://www.boost.org/LICENSE_1_0.txt
  5. if [ $# -lt 1 ]
  6. then
  7. echo "invoke:" $0 "directory-name"
  8. echo "example:" $0 "posix"
  9. exit 1
  10. fi
  11. echo building $1 docs...
  12. pushd $1/doc
  13. bjam --v2 >../../$1-bjam.log
  14. ls html
  15. popd
粤ICP备19079148号