blob: 19e763603b1a5fb16a8974b5b910388a57cd131a (
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
63
64
65
|
#!/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 --with-archive=/usr/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=${AXIS2C_HOME}/include/axis2-1.7.0
make
make install
make dist
tar xf axis2c-sample-src-1.7.0.tar.gz
mv axis2c-sample-src-1.7.0 samples
#$rm -rf ${AXIS2C_HOME}/samples
mv samples ${AXIS2C_HOME}/samples/src
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
strip -s ./lib/*
strip -s modules/addressing/*
strip -s modules/logging/*
strip -s ./bin/axis2_http_server
strip -s ./samples/bin/*
strip -s ./bin/tools/tcpmon
rm -rf ./lib/pkgconfig
|