You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

makedoc.sh 535B

123456789101112131415161718192021222324
  1. #!/bin/sh
  2. TITLE="Roundcube Webmail"
  3. PACKAGES="Webmail"
  4. INSTALL_PATH="`dirname $0`/.."
  5. PATH_PROJECT=$INSTALL_PATH/program/include
  6. PATH_FRAMEWORK=$INSTALL_PATH/program/lib/Roundcube
  7. PATH_DOCS=$INSTALL_PATH/doc/phpdoc
  8. BIN_PHPDOC="`/usr/bin/which phpdoc`"
  9. if [ ! -x "$BIN_PHPDOC" ]
  10. then
  11. echo "phpdoc not found: $BIN_PHPDOC"
  12. exit 1
  13. fi
  14. OUTPUTFORMAT=HTML
  15. TEMPLATE=responsive-twig
  16. # make documentation
  17. $BIN_PHPDOC -d $PATH_PROJECT,$PATH_FRAMEWORK -t $PATH_DOCS --title "$TITLE" --defaultpackagename $PACKAGES \
  18. --template=$TEMPLATE