summaryrefslogtreecommitdiff
path: root/doc/generate_apidox
blob: f6eadc7650f49c3b384ac586620006869d004d09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#!/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
mkdir $OPIEDIR/apidocs/network

# 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 "Creating docu for NetworkSettings"
# now do networksettings
cp $OPIEDIR/doc/Doxyfile_net $OPIEDIR/noncore/settings/networksettings/Doxyfile
cd $OPIEDIR/noncore/settings/networksettings
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"