-rwxr-xr-x | doc/generate_apidox | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/generate_apidox b/doc/generate_apidox index db77e20..f6eadc7 100755 --- a/doc/generate_apidox +++ b/doc/generate_apidox | |||
@@ -5,24 +5,25 @@ | |||
5 | 5 | ||
6 | # | 6 | # |
7 | # create directory structure | 7 | # create directory structure |
8 | echo "Creating directory structure" | 8 | echo "Creating directory structure" |
9 | rm -rf $OPIEDIR/apidocs | 9 | rm -rf $OPIEDIR/apidocs |
10 | mkdir $OPIEDIR/apidocs | 10 | mkdir $OPIEDIR/apidocs |
11 | mkdir $OPIEDIR/apidocs/api | 11 | mkdir $OPIEDIR/apidocs/api |
12 | mkdir $OPIEDIR/apidocs/common | 12 | mkdir $OPIEDIR/apidocs/common |
13 | mkdir $OPIEDIR/apidocs/qt | 13 | mkdir $OPIEDIR/apidocs/qt |
14 | mkdir $OPIEDIR/apidocs/libqpe | 14 | mkdir $OPIEDIR/apidocs/libqpe |
15 | mkdir $OPIEDIR/apidocs/libopie | 15 | mkdir $OPIEDIR/apidocs/libopie |
16 | mkdir $OPIEDIR/apidocs/pim | 16 | mkdir $OPIEDIR/apidocs/pim |
17 | mkdir $OPIEDIR/apidocs/network | ||
17 | 18 | ||
18 | # now copy qt doc | 19 | # now copy qt doc |
19 | echo "Scanning and copying QT docu" | 20 | echo "Scanning and copying QT docu" |
20 | cp -R $QTDIR/doc/html/* $OPIEDIR/apidocs/qt | 21 | cp -R $QTDIR/doc/html/* $OPIEDIR/apidocs/qt |
21 | doxytag -t $OPIEDIR/apidocs/qt/qt.tag $OPIEDIR/apidocs/qt | 22 | doxytag -t $OPIEDIR/apidocs/qt/qt.tag $OPIEDIR/apidocs/qt |
22 | 23 | ||
23 | cp -r $OPIEDIR/doc/common/* $OPIEDIR/apidocs/common | 24 | cp -r $OPIEDIR/doc/common/* $OPIEDIR/apidocs/common |
24 | # now start with libqpe | 25 | # now start with libqpe |
25 | echo "Creating docu for qpe" | 26 | echo "Creating docu for qpe" |
26 | cp $OPIEDIR/doc/Doxyfile_libqpe $OPIEDIR/library/Doxyfile | 27 | cp $OPIEDIR/doc/Doxyfile_libqpe $OPIEDIR/library/Doxyfile |
27 | cd $OPIEDIR/library | 28 | cd $OPIEDIR/library |
28 | doxygen Doxyfile | 29 | doxygen Doxyfile |
@@ -33,22 +34,29 @@ echo "Creating docu for libopie" | |||
33 | cp $OPIEDIR/doc/Doxyfile_libopie $OPIEDIR/libopie/Doxyfile | 34 | cp $OPIEDIR/doc/Doxyfile_libopie $OPIEDIR/libopie/Doxyfile |
34 | cd $OPIEDIR/libopie | 35 | cd $OPIEDIR/libopie |
35 | doxygen Doxyfile | 36 | doxygen Doxyfile |
36 | rm -f Doxyfile | 37 | rm -f Doxyfile |
37 | 38 | ||
38 | echo "Creating docu for PIM" | 39 | echo "Creating docu for PIM" |
39 | # now it's time for libopie/pim | 40 | # now it's time for libopie/pim |
40 | cp $OPIEDIR/doc/Doxyfile_pim $OPIEDIR/libopie/pim/Doxyfile | 41 | cp $OPIEDIR/doc/Doxyfile_pim $OPIEDIR/libopie/pim/Doxyfile |
41 | cd $OPIEDIR/libopie/pim | 42 | cd $OPIEDIR/libopie/pim |
42 | doxygen Doxyfile | 43 | doxygen Doxyfile |
43 | rm -f Doxyfile | 44 | rm -f Doxyfile |
44 | 45 | ||
46 | echo "Creating docu for NetworkSettings" | ||
47 | # now do networksettings | ||
48 | cp $OPIEDIR/doc/Doxyfile_net $OPIEDIR/noncore/settings/networksettings/Doxyfile | ||
49 | cd $OPIEDIR/noncore/settings/networksettings | ||
50 | doxygen Doxyfile | ||
51 | rm -f Doxyfile | ||
52 | |||
45 | echo "Making mainpage" | 53 | echo "Making mainpage" |
46 | # now generate the mainpage | 54 | # now generate the mainpage |
47 | cp $OPIEDIR/doc/Doxyfile_main $OPIEDIR/Doxyfile | 55 | cp $OPIEDIR/doc/Doxyfile_main $OPIEDIR/Doxyfile |
48 | cp $OPIEDIR/doc/Mainpage.dox $OPIEDIR/ | 56 | cp $OPIEDIR/doc/Mainpage.dox $OPIEDIR/ |
49 | cd $OPIEDIR | 57 | cd $OPIEDIR |
50 | doxygen Doxyfile | 58 | doxygen Doxyfile |
51 | rm -f Doxyfile | 59 | rm -f Doxyfile |
52 | rm -f Mainpage.dox | 60 | rm -f Mainpage.dox |
53 | 61 | ||
54 | echo "Done with generation!!! hopefully grin" | 62 | echo "Done with generation!!! hopefully grin" |