summaryrefslogtreecommitdiff
path: root/doc/generate_apidox
authorzecke <zecke>2003-04-15 18:54:29 (UTC)
committer zecke <zecke>2003-04-15 18:54:29 (UTC)
commitdfa2d294b3af09bf3757a3c2294a925093e72fc6 (patch) (side-by-side diff)
tree4912b4d7c74bf78e6903ec0304625a69580b6ffe /doc/generate_apidox
parentf145f985e6635dbee2df3c04a9f2220e36f5512f (diff)
downloadopie-dfa2d294b3af09bf3757a3c2294a925093e72fc6.zip
opie-dfa2d294b3af09bf3757a3c2294a925093e72fc6.tar.gz
opie-dfa2d294b3af09bf3757a3c2294a925093e72fc6.tar.bz2
Add common web files for our API docu
Add the Doxyfiles for library, libopie, libopie/pim, qt Add a script to generate our API docs You need to set OPIEDIR and QTDIR ./generate_apidox and you'll find your APIDOCS inside $OPIEDIR/apidocs have fun
Diffstat (limited to 'doc/generate_apidox') (more/less context) (show whitespace changes)
-rwxr-xr-xdoc/generate_apidox54
1 files changed, 54 insertions, 0 deletions
diff --git a/doc/generate_apidox b/doc/generate_apidox
new file mode 100755
index 0000000..db77e20
--- a/dev/null
+++ b/doc/generate_apidox
@@ -0,0 +1,54 @@
+#!/bin/sh
+
+# small shell script to generate our API docs
+# it'll copy over qt
+
+#
+# create directory structure
+echo "Creating directory structure"
+rm -rf $OPIEDIR/apidocs
+mkdir $OPIEDIR/apidocs
+mkdir $OPIEDIR/apidocs/api
+mkdir $OPIEDIR/apidocs/common
+mkdir $OPIEDIR/apidocs/qt
+mkdir $OPIEDIR/apidocs/libqpe
+mkdir $OPIEDIR/apidocs/libopie
+mkdir $OPIEDIR/apidocs/pim
+
+# now copy qt doc
+echo "Scanning and copying QT docu"
+cp -R $QTDIR/doc/html/* $OPIEDIR/apidocs/qt
+doxytag -t $OPIEDIR/apidocs/qt/qt.tag $OPIEDIR/apidocs/qt
+
+cp -r $OPIEDIR/doc/common/* $OPIEDIR/apidocs/common
+# now start with libqpe
+echo "Creating docu for qpe"
+cp $OPIEDIR/doc/Doxyfile_libqpe $OPIEDIR/library/Doxyfile
+cd $OPIEDIR/library
+doxygen Doxyfile
+rm -f Doxyfile
+
+# now do libopie
+echo "Creating docu for libopie"
+cp $OPIEDIR/doc/Doxyfile_libopie $OPIEDIR/libopie/Doxyfile
+cd $OPIEDIR/libopie
+doxygen Doxyfile
+rm -f Doxyfile
+
+echo "Creating docu for PIM"
+# now it's time for libopie/pim
+cp $OPIEDIR/doc/Doxyfile_pim $OPIEDIR/libopie/pim/Doxyfile
+cd $OPIEDIR/libopie/pim
+doxygen Doxyfile
+rm -f Doxyfile
+
+echo "Making mainpage"
+# now generate the mainpage
+cp $OPIEDIR/doc/Doxyfile_main $OPIEDIR/Doxyfile
+cp $OPIEDIR/doc/Mainpage.dox $OPIEDIR/
+cd $OPIEDIR
+doxygen Doxyfile
+rm -f Doxyfile
+rm -f Mainpage.dox
+
+echo "Done with generation!!! hopefully grin"