diff options
author | Jurijs Klopovskis <jurijs.klopovskis@zabbix.com> | 2019-09-25 14:17:39 +0300 |
---|---|---|
committer | Jurijs Klopovskis <jurijs.klopovskis@zabbix.com> | 2019-10-04 13:35:17 +0300 |
commit | a5cfc42724f6ecc6c383ef407c05b01ff5d4a90f (patch) | |
tree | b76b0f580bbd9cbc794b3378c17680f2041d12bf /build-backend.xml | |
parent | 8c1685efba15f1838135d4aaad11990997f68cfd (diff) |
.......... [DEV-1290] moved build-agent2 target to build-backend.xml file
Diffstat (limited to 'build-backend.xml')
-rw-r--r-- | build-backend.xml | 16 |
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> |