Ignore:
Timestamp:
2008-11-20T16:33:21+13:00 (15 years ago)
Author:
oranfry
Message:

Standardised names of directories used in release kits

  • gsdl and greenstone3 -> compiled
  • distribution and distributions -> distributions
  • greenstone3 and web -> web

And, expect more specifically named properties files, e.g., lirk3-build.properties, wirk2-build.properties

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release-kits/lirk2/ant-scripts/compile.xml

    r17519 r17898  
    66        <!-- checkout -->
    77        <antcall target="checkout-gsdl-gli" />
     8        <antcall target="gsdl-set-version-numbers"><param name="gsdl.basedir" value="${basedir}/compiled"/></antcall>
    89       
    910        <!-- configure -->
     
    2930    <target name="checkout-gsdl-gli">
    3031        <svn>
    31             <checkout url="${svn.root}/gsdl/${branch.path}" destPath="${basedir}/gsdl"/>
    32             <checkout url="${svn.root}/gli/${branch.path}" destPath="${basedir}/gsdl/gli"/>
     32            <checkout url="${svn.root}/gsdl/${branch.path}" destPath="${basedir}/compiled"/>
     33            <checkout url="${svn.root}/gli/${branch.path}" destPath="${basedir}/compiled/gli"/>
    3334        </svn>
    3435    </target>
     
    3637    <target name="add-static-to-configure-in">
    3738        <rsr
    38             file="${basedir}/gsdl/configure.in"
     39            file="${basedir}/compiled/configure.in"
    3940            pattern="^LDFLAGS=.*$"
    4041            replacement="LDFLAGS=-static" />
    41         <exec dir="${basedir}/gsdl" executable="autoconf" output="${basedir}/gsdl/configure"><arg value="configure.in"/></exec>
     42        <exec dir="${basedir}/compiled" executable="autoconf" output="${basedir}/compiled/configure"><arg value="configure.in"/></exec>
    4243    </target>
    4344
    4445    <target name="set-environment-in-packages-configure">
    4546        <rsr
    46             file="${basedir}/gsdl/common-src/packages/configure"
     47            file="${basedir}/compiled/common-src/packages/configure"
    4748            pattern="^ENVIRONMENT=.*$"
    4849            replacement="ENVIRONMENT=&quot;LDFLAGS=-static&quot;" />
    4950        <rsr
    50             file="${basedir}/gsdl/build-src/packages/configure"
     51            file="${basedir}/compiled/build-src/packages/configure"
    5152            pattern="^ENVIRONMENT=.*$"
    5253            replacement="ENVIRONMENT=&quot;LDFLAGS=-static&quot;" />
     
    5455
    5556    <target name="run-configure">
    56         <exec dir="${basedir}/gsdl" executable="${basedir}/gsdl/configure">
     57        <exec dir="${basedir}/compiled" executable="${basedir}/compiled/configure">
    5758            <env key="LDFLAGS" value="-static"/>
    5859        </exec>
     
    6162    <target name="makefiles-add-static">
    6263        <rsr
    63             file="${basedir}/gsdl/build-src/packages/wv/wv-gs/Makefile"
     64            file="${basedir}/compiled/build-src/packages/wv/wv-gs/Makefile"
    6465            pattern="^LDFLAGS =.*$"
    6566            replacement="LDFLAGS = -static" />
    6667        <rsr
    67             file="${basedir}/gsdl/build-src/packages/xlhtml/xlhtml-0.4.9.0/xlhtml/Makefile"
     68            file="${basedir}/compiled/build-src/packages/xlhtml/xlhtml-0.4.9.0/xlhtml/Makefile"
    6869            pattern="^LDFLAGS =.*$"
    6970            replacement="LDFLAGS = -static" />
    7071        <rsr
    71             file="${basedir}/gsdl/build-src/packages/xlhtml/xlhtml-0.4.9.0/ppthtml/Makefile"
     72            file="${basedir}/compiled/build-src/packages/xlhtml/xlhtml-0.4.9.0/ppthtml/Makefile"
    7273            pattern="^LDFLAGS =.*$"
    7374            replacement="LDFLAGS = -static" />
    7475        <rsr
    75             file="${basedir}/gsdl/build-src/packages/rtftohtml/rtftohtml_src/Makefile"
     76            file="${basedir}/compiled/build-src/packages/rtftohtml/rtftohtml_src/Makefile"
    7677            pattern="(-o rtftohtml.{2}EXEEXT.{1})"
    7778            replacement="$1 -static" />
     
    7980
    8081    <target name="run-make">
    81         <exec dir="${basedir}/gsdl" executable="make"/>
     82        <exec dir="${basedir}/compiled" executable="make"/>
    8283    </target>
    8384
    8485
    8586    <target name="run-make-install">
    86         <exec dir="${basedir}/gsdl" executable="make"><arg value="install"/></exec>
     87        <exec dir="${basedir}/compiled" executable="make"><arg value="install"/></exec>
    8788    </target>
    8889
    8990    <target name="copy-library-oai">
    90         <exec executable="mv"><arg line="${basedir}/gsdl/cgi-bin/library ${basedir}/gsdl/bin/linux/library"/></exec>
    91         <exec executable="mv"><arg line="${basedir}/gsdl/cgi-bin/oaiserver ${basedir}/gsdl/bin/linux/oaiserver"/></exec>
     91        <exec executable="mv"><arg line="${basedir}/compiled/cgi-bin/library ${basedir}/compiled/bin/linux/library"/></exec>
     92        <exec executable="mv"><arg line="${basedir}/compiled/cgi-bin/oaiserver ${basedir}/compiled/bin/linux/oaiserver"/></exec>
    9293    </target>
    9394
    9495    <target name="strip-execs">
    95         <exec dir="${basedir}/gsdl/bin/linux" executable="find">
     96        <exec dir="${basedir}/compiled/bin/linux" executable="find">
    9697            <arg line="! -name . -type f -maxdepth 1 -exec strip {} &#59;"/>
    9798        </exec>
     
    99100
    100101    <target name="build-demo-collection">
    101         <exec dir="${basedir}/gsdl" executable="${lirk2.home}/resources/build-demo.sh"/>
     102        <exec dir="${basedir}/compiled" executable="${lirk2.home}/resources/build-demo.sh"/>
    102103    </target>
    103104
Note: See TracChangeset for help on using the changeset viewer.