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