comparison bin/makedoc.sh @ 0:4681f974d28b

vanilla 1.3.3 distro, I hope
author Charlie Root
date Thu, 04 Jan 2018 15:52:31 -0500
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4681f974d28b
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