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