summaryrefslogtreecommitdiff
path: root/bin/makedoc.sh
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2007-08-07 21:02:12 +0000
committerthomascube <thomas@roundcube.net>2007-08-07 21:02:12 +0000
commit6d969b4d9020560d3491d19a5b0487e325e9bce4 (patch)
tree030bc9d63bf4dc40b8bbf1cefd00e5ad6b460439 /bin/makedoc.sh
parent93be5b7606ed7a85323732b074ce380ac06875b7 (diff)
Documentation, code style and cleanup
Diffstat (limited to 'bin/makedoc.sh')
-rwxr-xr-xbin/makedoc.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/bin/makedoc.sh b/bin/makedoc.sh
new file mode 100755
index 000000000..5925d0a3f
--- /dev/null
+++ b/bin/makedoc.sh
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+TITLE="RoundCube Classes"
+PACKAGES="Core"
+
+PATH_PROJECT=$PWD/program/include
+PATH_DOCS=$PWD/doc/phpdoc
+PATH_PHPDOC=/usr/local/php5/bin/phpdoc
+
+OUTPUTFORMAT=HTML
+CONVERTER=frames
+TEMPLATE=earthli
+PRIVATE=off
+
+# make documentation
+$PATH_PHPDOC -d $PATH_PROJECT -t $PATH_DOCS -ti "$TITLE" -dn $PACKAGES \
+-o $OUTPUTFORMAT:$CONVERTER:$TEMPLATE -pp $PRIVATE
+