Changeset 20721 for release-kits/lirk2/ant-scripts/compile.xml
- Timestamp:
- 2009-09-26T19:07:24+12:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
release-kits/lirk2/ant-scripts/compile.xml
r18929 r20721 43 43 </target> 44 44 45 <target name="add-static-to-configure-in">46 <rsr47 file="${basedir}/compiled/configure.in"48 pattern="^LDFLAGS=.*$"49 replacement="LDFLAGS=-static" />50 <exec dir="${basedir}/compiled" executable="autoconf" output="${basedir}/compiled/configure"><arg value="configure.in"/></exec>51 </target>52 53 <target name="set-environment-in-packages-configure">54 <rsr55 file="${basedir}/compiled/common-src/packages/configure"56 pattern="^ENVIRONMENT=.*$"57 replacement="ENVIRONMENT="LDFLAGS=-static"" />58 <rsr59 file="${basedir}/compiled/build-src/packages/configure"60 pattern="^ENVIRONMENT=.*$"61 replacement="ENVIRONMENT="LDFLAGS=-static"" />62 </target>63 64 <target name="run-configure">65 <exec dir="${basedir}/compiled" executable="${basedir}/compiled/configure" failonerror="true">66 <arg line="--enable-apache-httpd"/>67 <env key="LDFLAGS" value="-static"/>68 </exec>69 </target>70 71 <target name="makefiles-add-static">72 <rsr73 file="${basedir}/compiled/build-src/packages/wv/wv-gs/Makefile"74 pattern="^LDFLAGS =.*$"75 replacement="LDFLAGS = -static" />76 <rsr77 file="${basedir}/compiled/build-src/packages/xlhtml/xlhtml-0.4.9.0/xlhtml/Makefile"78 pattern="^LDFLAGS =.*$"79 replacement="LDFLAGS = -static" />80 <rsr81 file="${basedir}/compiled/build-src/packages/xlhtml/xlhtml-0.4.9.0/ppthtml/Makefile"82 pattern="^LDFLAGS =.*$"83 replacement="LDFLAGS = -static" />84 <rsr85 file="${basedir}/compiled/build-src/packages/rtftohtml/rtftohtml_src/Makefile"86 pattern="(-o rtftohtml.{2}EXEEXT.{1})"87 replacement="$1 -static" />88 </target>89 90 <target name="run-make">91 <exec dir="${basedir}/compiled" executable="make" failonerror="true"/>92 </target>93 94 95 <target name="run-make-install">96 <exec dir="${basedir}/compiled" executable="make" failonerror="true"><arg value="install"/></exec>97 </target>98 99 <target name="run-make-apache-for-dist">100 <exec dir="${basedir}/compiled" executable="make" failonerror="true"><arg value="apache-for-dist"/></exec>101 </target>102 103 <target name="strip-execs">104 <exec dir="${basedir}/compiled/bin/linux" executable="find" failonerror="true">105 <arg line="! -name . -type f -maxdepth 1 -exec strip {} ;"/>106 </exec>107 </target>108 109 <target name="build-demo-collection">110 <exec dir="${basedir}/compiled" executable="${lirk2.home}/resources/build-demo.sh" failonerror="true"/>111 </target>112 45 113 46
Note:
See TracChangeset
for help on using the changeset viewer.