12 lines
220B

  1. #!/bin/bash
  2. cd ..
  3. mkdir docs/doxygen
  4. rm -Rf docs/doxygen/*
  5. doxygen 1>docs/doxygen/info.log 2>docs/doxygen/errors.log
  6. if [ "$?" != 0 ]; then
  7. cat docs/doxygen/errors.log
  8. exit
  9. fi
  10. cd docs
  11. tar czf doxygen.tgz doxygen