From 0425aadc78680e53000fd0108b540d6eca048516 Mon Sep 17 00:00:00 2001 From: gmcdonald Date: Sat, 13 Feb 2010 01:32:03 +0000 Subject: Moving axis svn, part of TLP move INFRA-2441 git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@909681 13f79535-47bb-0310-9956-ffa450edef68 --- bindist.sh | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100755 bindist.sh (limited to 'bindist.sh') diff --git a/bindist.sh b/bindist.sh new file mode 100755 index 0000000..5647bec --- /dev/null +++ b/bindist.sh @@ -0,0 +1,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.6.0 +make +make install + +make dist +tar xf axis2c-sample-src-1.6.0.tar.gz +mv axis2c-sample-src-1.6.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 -- cgit v1.1-32-gdbae