You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2009/05/19 23:36:56 UTC

svn commit: r776478 - in /activemq/activemq-cpp/trunk/activemq-cpp: build.sh pom.xml

Author: tabish
Date: Tue May 19 21:36:56 2009
New Revision: 776478

URL: http://svn.apache.org/viewvc?rev=776478&view=rev
Log:
More tweaks for the build process.

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/build.sh
    activemq/activemq-cpp/trunk/activemq-cpp/pom.xml

Modified: activemq/activemq-cpp/trunk/activemq-cpp/build.sh
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/build.sh?rev=776478&r1=776477&r2=776478&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/build.sh (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/build.sh Tue May 19 21:36:56 2009
@@ -16,3 +16,86 @@
 # limitations under the License.
 # ------------------------------------------------------------------------
 
+# default settings
+runautogen=true
+runconfigure=true
+maketarget=all
+
+# load the user supplied build configuration file if present.
+if [ -f "./build.conf" ] ; then
+  . ./build.conf
+fi
+
+# No Configure script means we have to run autogen, which in turn means
+# we need to run a new Configure on the project.
+if [ -x "./configure" ] ; then
+
+    # even if we have a configure script, if the template has been updated we should
+    # run it again to account for the changes, which also means we need to run a autogen
+    # to create the actual script and associated autoconf artifacts.
+    if [ "./configure.ac" -ot "./configure" ] ; then
+        echo "No need to run autogen.sh or configure"
+        runautgen=false
+        runconfigure=false
+    else
+        echo "We need to run autogen.sh and configure"
+        runautgen=true
+        runconfigure=true
+    fi
+
+fi
+
+run_Configure {
+    autogen.sh
+    pushd build
+    ../configure
+    exit
+}
+
+run_Clean() {
+    pushd build
+    make clean
+    exit
+}
+
+run_Make() {
+    pushd build
+    make
+    exit
+}
+
+run_Check() {
+    pushd build
+    make check
+    exit
+}
+
+run_Doxygen() {
+    pushd build
+    make doxygen-run
+    exit
+}
+
+case "$1" in
+configure)
+    run_Configure
+    ;;
+all)
+    run_Make
+    ;;
+check)
+    run_Check
+    ;;
+clean)
+    run_Clean
+    ;;
+doxygen)
+    run_Doxygen
+    ;;
+*)
+    echo "Usage: $0 {clean}"
+    exit 1
+esac
+
+exit 0
+

Modified: activemq/activemq-cpp/trunk/activemq-cpp/pom.xml
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/pom.xml?rev=776478&r1=776477&r2=776478&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/pom.xml (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/pom.xml Tue May 19 21:36:56 2009
@@ -33,7 +33,7 @@
   <packaging>pom</packaging>
   <name>ActiveMQ-CPP Library</name>
   <description>The ActiveMQ-CPP Library</description>
-  <version>3.0-RC1</version>
+  <version>3.0-RC2</version>
 
   <dependencies>
     <dependency>
@@ -198,7 +198,7 @@
       </plugin>
     </plugins>
   </build>
-
+  <!--
   <profiles>
     <profile>
       <id>Unix Make</id>
@@ -265,5 +265,5 @@
       </build>
     </profile>
   </profiles>
-
+  -->
 </project>