forked from yaseminyilmaz/axis2-c
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbindist.sh
executable file
·59 lines (45 loc) · 1.07 KB
/
bindist.sh
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
#!/bin/bash
sh clean.sh
./autogen.sh
AXIS2C_HOME=`pwd`/deploy
export AXIS2C_HOME
./configure --prefix=${AXIS2C_HOME} --enable-tests=no --enable-trace=yes --enable-diclient=no --enable-static=no --enable-openssl=no --with-apache2=/usr/local/apache2/include
make
make install
cd tools/tcpmon
./autogen.sh
./configure --prefix=${AXIS2C_HOME} --enable-tests=no
make
make install
cd ../../samples
./autogen.sh
./configure --prefix=${AXIS2C_HOME} --with-axis2_util=${AXIS2C_HOME}/include --with-axiom=${AXIS2C_HOME}/include
make
make install
make dist
tar xf axis2c-sample-src-1.0.0.tar.gz
mv axis2c-sample-src-1.0.0 samples
rm -rf ${AXIS2C_HOME}/samples
mv samples ${AXIS2C_HOME}
cd ..
rm -rf xdocs/api/html
maven site
cd xdocs/api
doxygen doxygenconf
cd ../..
cp -r xdocs/api/html target/docs/api/
cp xdocs/docs/mod_log/module.xml target/docs/docs/mod_log
cp -r target/docs ${AXIS2C_HOME}
cd ${AXIS2C_HOME}
# rm -rf config.sub missing config.guess depcomp ltmain.sh
for i in `find . -name "*.la"`
do
rm $i
done
for i in `find . -name "*.a"`
do
rm $i
done
cd lib
strip -g *
cd ..