mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-02-19 17:11:20 +01:00
25 lines
529 B
Bash
Executable File
25 lines
529 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -x
|
|
|
|
BIN_PHPDOC=`/usr/bin/which phpdoc`
|
|
|
|
if [ ! -x "$BIN_PHPDOC" ]
|
|
then
|
|
echo "phpdoc not found"
|
|
exit 1
|
|
fi
|
|
|
|
INSTALL_PATH="`dirname $0`/.."
|
|
PATH_PROJECT=$INSTALL_PATH/program/include
|
|
PATH_FRAMEWORK=$INSTALL_PATH/program/lib/Roundcube
|
|
PATH_DOCS=$INSTALL_PATH/doc/phpdoc
|
|
TITLE="Roundcube Webmail"
|
|
PACKAGES="Webmail"
|
|
OUTPUTFORMAT=HTML
|
|
TEMPLATE=responsive-twig
|
|
|
|
# make documentation
|
|
$BIN_PHPDOC -d $PATH_PROJECT,$PATH_FRAMEWORK -t $PATH_DOCS --title "$TITLE" \
|
|
--defaultpackagename $PACKAGES --template=$TEMPLATE
|