summaryrefslogtreecommitdiff
path: root/bin/makedoc.sh
diff options
context:
space:
mode:
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
+