Changeset 19935 for release-kits/lirk3/ant-scripts/compile.xml
- Timestamp:
- 2009-06-26T16:18:44+12:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
release-kits/lirk3/ant-scripts/compile.xml
r17898 r19935 4 4 <target name="compile"> 5 5 6 <!-- checkout -->7 6 <antcall target="checkout-greenstone3" /> 7 <antcall target="greenstone3-set-version-numbers"><param name="greenstone3basedir" value="compiled"/></antcall> 8 <antcall target="gli-set-version-numbers"><param name="glibasedir" value="compiled/gli" /></antcall> 9 <ant dir="compiled" inheritAll="false"> 10 <target name="prepare"/> 11 <target name="install"/> 12 <target name="dist-tidy"/> 13 <propertyset refid="forward.properties"/> 14 </ant> 15 <antcall target="insert-xml-parser"/> 16 <antcall target="insert-ant"/> 17 <antcall target="insert-documented-examples"/> 18 <antcall target="insert-imagemagick-linux-binaries"/> 19 <antcall target="compile-uninstaller" /> <!-- from rk3-targets --> 20 <antcall target="prepare-documentation"/> <!-- from rk3-targets --> 8 21 9 <!-- preparation --> 10 <antcall target="greenstone3-set-version-numbers"> 11 <param name="greenstone3basedir" value="${basedir}/compiled"/> 12 </antcall> 13 <ant dir="compiled" antfile="${lirk3.home}/ant-scripts/operations-on-gs3home.xml" target="prepare-unix" inheritAll="false"/> 22 <!-- tweakers --> 23 <!--<antcall target="tweak-configure-scripts" /> 24 <antcall target="regenerate-configure"/> 25 <antcall target="tweak-makefiles" /> 26 <antcall target="linux-strip-execs" /> 27 --> 14 28 15 <antcall target="tweak-configure-scripts" />16 17 <!-- update -->18 <ant dir="compiled" antfile="${lirk3.home}/ant-scripts/operations-on-gs3home.xml" target="update-unix" inheritAll="false"/>19 20 <!-- configure -->21 <antcall target="regenerate-configure"/>22 <ant dir="compiled" antfile="${lirk3.home}/ant-scripts/operations-on-gs3home.xml" target="configure-unix" inheritAll="false"/>23 <antcall target="tweak-makefiles" />24 25 <!-- build -->26 <ant dir="compiled" antfile="${lirk3.home}/ant-scripts/operations-on-gs3home.xml" target="build-unix" inheritAll="false"/>27 <antcall target="linux-strip-execs" />28 29 <!-- uninstaller -->30 <antcall target="compile-uninstaller" /> <!-- from rk3-targets -->31 32 <!-- documentation -->33 <antcall target="prepare-documentation" />34 29 35 30 </target> 36 31 37 <target name="checkout-greenstone3"> 32 <target name="insert-imagemagick-linux-binaries"> 33 <delete dir="compiled/bin/linux/imagemagick"/> 38 34 <svn> 39 < checkout url="${svn.root}/greenstone3/${branch.path}" destPath="compiled"/>35 <export srcurl="${svn.root}/other-projects/trunk/linux-binaries/imagemagick" destPath="compiled/gs2build/bin/linux/imagemagick"/> 40 36 </svn> 41 37 </target> 38 39 40 <!-- 41 <target name="ant-prepare"> 42 <ant target="prepare" dir="compiled" inheritAll="false"> 43 <propertyset refid="forward.properties"/> 44 </ant> 45 </target> 46 47 <target name="ant-install"> 48 <ant target="install" dir="compiled" inheritAll="false"> 49 <propertyset refid="forward.properties"/> 50 </ant> 51 </target> 52 53 <target name="ant-dist-tidy"> 54 <ant target="dist-tidy" dir="compiled" inheritAll="false"> 55 <propertyset refid="forward.properties"/> 56 </ant> 57 </target> 58 --> 42 59 43 60 <target name="tweak-configure-scripts"> … … 68 85 </target> 69 86 70 <target name="prepare-documentation">71 <mkdir dir="compiled/gsdl-manuals"/>72 <svn>73 <checkout url="${svn.root}/documentation/${branch.path}/manuals" destPath="compiled/gsdl-manuals/manuals"/>74 <checkout url="${svn.root}/documentation/${branch.path}/shared" destPath="compiled/gsdl-manuals/shared"/>75 </svn>76 <javac srcdir="compiled/gsdl-manuals/shared"77 destdir="compiled/gsdl-manuals/shared"78 debug="on">79 <include name="*.java"/>80 </javac>81 <unzip src="compiled/gsdl-manuals/shared/fop.zip" dest="compiled/gsdl-manuals/shared"/>82 83 <path id="documentation.compile.classpath">84 <fileset dir="compiled/gsdl-manuals">85 <include name="**/*.jar"/>86 </fileset>87 <pathelement path="compiled/gsdl-manuals/shared"/>88 <pathelement path="compiled/gsdl-manuals/manuals"/>89 </path>90 91 <java classname="ApplyXSLT" classpathref="documentation.compile.classpath" output="compiled/gsdl-manuals/manuals/xml-source/en/help-en.xml">92 <arg value="compiled/gsdl-manuals/manuals/processing/gen-gli-help-to-manual-chapter.xsl" />93 <arg value="compiled/gli/help/en/help.xml" />94 <arg value="compiled" />95 </java>96 97 <chmod perm="a+x" file="compiled/gsdl-manuals/shared/fop/fop.sh"/>98 <echo>Run generate-pdf.sh</echo>99 <exec dir="compiled/gsdl-manuals/manuals" executable="/bin/sh">100 <arg line="generate-pdf.sh u en" />101 </exec>102 </target>103 87 104 88 <!-- … … 124 108 <target name="gs2build-add-static"> 125 109 <rsr file="compiled/gs2build/common-src/packages/configure" pattern="^ENVIRONMENT=""$" replacement="ENVIRONMENT="LDFLAGS=-static"" /> 126 <rsr file="compiled/gs2build/build-src/packages/configure" 110 <rsr file="compiled/gs2build/build-src/packages/configure" pattern="^ENVIRONMENT=""$" replacement="ENVIRONMENT="LDFLAGS=-static"" /> 127 111 <rsr file="compiled/gs2build/configure.in" pattern="^LDFLAGS=.*" replacement="LDFLAGS=-static" /> 128 112 </target>
Note:
See TracChangeset
for help on using the changeset viewer.