Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJurijs Klopovskis <jurijs.klopovskis@zabbix.com>2019-09-25 14:17:39 +0300
committerJurijs Klopovskis <jurijs.klopovskis@zabbix.com>2019-10-04 13:35:17 +0300
commita5cfc42724f6ecc6c383ef407c05b01ff5d4a90f (patch)
treeb76b0f580bbd9cbc794b3378c17680f2041d12bf /build-backend.xml
parent8c1685efba15f1838135d4aaad11990997f68cfd (diff)
.......... [DEV-1290] moved build-agent2 target to build-backend.xml file
Diffstat (limited to 'build-backend.xml')
-rw-r--r--build-backend.xml16
1 files changed, 15 insertions, 1 deletions
diff --git a/build-backend.xml b/build-backend.xml
index 367ac78208a..003df484be8 100644
--- a/build-backend.xml
+++ b/build-backend.xml
@@ -370,6 +370,20 @@
</for>
</target>
+ <target name="build-agent2">
+ <exec executable="./bootstrap.sh" failonerror="on"/>
+ <exec executable="./configure" failonerror="on">
+ <arg line="--quiet"/>
+ <arg line="--enable-agent2"/>
+ <arg line="--prefix=${basedir}"/>
+ </exec>
+ <exec executable="make" failonerror="on">
+ <env key="GOPATH" value="$GOPATH:$PWD"/>
+ <arg line="-s"/>
+ <arg line="install"/>
+ </exec>
+ </target>
+
<target name="build-dist" depends="create-db,make-gcc,make-db"/>
<target name="make-dist">
@@ -395,5 +409,5 @@
<ant antfile="../build-backend.xml" dir="${prop.dist.dir}" target="build-dist" inheritAll="true" inheritRefs="true"/>
</target>
- <target name="build" depends="make-dist"/>
+ <target name="build" depends="make-dist,build-agent2"/>
</project>