summaryrefslogtreecommitdiff
path: root/pg-doxy/pg-doxy.sh
blob: f542386685ee6254e1714dbf809452aaeae5115c (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
#!/bin/bash

# Create doxygen from debian package server
# By Jungbae Lee (yi_jungbae@samsung.com)

cd `dirname $0`
CWD=`pwd`

# Use doxygen 1.7.0
export PATH=/usr/local/bin:${HOME}/mytools/bin:${PATH}
export LD_LIBRARY_PATH=${HOME}/mytools/lib:${LD_LIBRARY_PATH}


### Configuration
SBOX=/scratchbox/users/$USER/home/$USER
DOXYGEN_OUTPUT_DIR=$CWD/doxygen_output
DOXYGEN=./tool/bin/doxygen
DOXY_CONF=doxygen.conf
IMAGE_DIR=../image #need to change
#IMAGE_DIR=[fill your image path]



####doxygen configuration :: output Directory
mkdir $DOXYGEN_OUTPUT_DIR

echo "Doxygen running..."
if [ ! -e $CWD/doxygen_output ]; then
	mkdir $CWD/doxygen_output
fi
# Run doxygen
$DOXYGEN $DOXY_CONF 2>&1

#image copy
cp $CWD/$IMAGE_DIR/* $DOXYGEN_OUTPUT_DIR/html/

echo "Finished!"
exit;