summaryrefslogtreecommitdiff
path: root/doc/generate_apidox
Unidiff
Diffstat (limited to 'doc/generate_apidox') (more/less context) (ignore 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 @@
1#!/bin/sh
2
3# small shell script to generate our API docs
4# it'll copy over qt
5
6#
7# create directory structure
8echo "Creating directory structure"
9rm -rf $OPIEDIR/apidocs
10mkdir $OPIEDIR/apidocs
11mkdir $OPIEDIR/apidocs/api
12mkdir $OPIEDIR/apidocs/common
13mkdir $OPIEDIR/apidocs/qt
14mkdir $OPIEDIR/apidocs/libqpe
15mkdir $OPIEDIR/apidocs/libopie
16mkdir $OPIEDIR/apidocs/pim
17
18# now copy qt doc
19echo "Scanning and copying QT docu"
20cp -R $QTDIR/doc/html/* $OPIEDIR/apidocs/qt
21doxytag -t $OPIEDIR/apidocs/qt/qt.tag $OPIEDIR/apidocs/qt
22
23cp -r $OPIEDIR/doc/common/* $OPIEDIR/apidocs/common
24# now start with libqpe
25echo "Creating docu for qpe"
26cp $OPIEDIR/doc/Doxyfile_libqpe $OPIEDIR/library/Doxyfile
27cd $OPIEDIR/library
28doxygen Doxyfile
29rm -f Doxyfile
30
31# now do libopie
32echo "Creating docu for libopie"
33cp $OPIEDIR/doc/Doxyfile_libopie $OPIEDIR/libopie/Doxyfile
34cd $OPIEDIR/libopie
35doxygen Doxyfile
36rm -f Doxyfile
37
38echo "Creating docu for PIM"
39# now it's time for libopie/pim
40cp $OPIEDIR/doc/Doxyfile_pim $OPIEDIR/libopie/pim/Doxyfile
41cd $OPIEDIR/libopie/pim
42doxygen Doxyfile
43rm -f Doxyfile
44
45echo "Making mainpage"
46# now generate the mainpage
47cp $OPIEDIR/doc/Doxyfile_main $OPIEDIR/Doxyfile
48cp $OPIEDIR/doc/Mainpage.dox $OPIEDIR/
49cd $OPIEDIR
50doxygen Doxyfile
51rm -f Doxyfile
52rm -f Mainpage.dox
53
54echo "Done with generation!!! hopefully grin"