Ignore:
Timestamp:
2008-12-02T14:35:35+13:00 (15 years ago)
Author:
oranfry
Message:

standardised the create-binary-zip methods

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release-kits/shared/greenstone2/ant-scripts/rk2-targets.xml

    r17997 r18003  
    5757
    5858    <target name="create-binary-zip-windows">
    59         <copy todir="distributions/Greenstone-${version}-${os.suffix}-binary">
     59        <property name="binzip.dir" value="distributions/Greenstone-${version}-${os.suffix}-binary"/>
     60        <copy todir="${binzip.dir}">
    6061            <fileset dir="distributions/web"/>
    6162        </copy>
    62         <copy todir="distributions/Greenstone-${version}-${os.suffix}-binary/cgi-bin">
    63             <fileset dir="distributions/Greenstone-${version}-${os.suffix}-binary/bin/${shell.os}">
    64                 <includes name="library,oaiservr"/>
     63        <copy todir="${binzip.dir}/cgi-bin">
     64            <fileset dir="${binzip.dir}/bin/${shell.os}">
     65                <includes name="library.exe,oaiservr.exe"/>
    6566            </fileset>
    6667        </copy>
    6768        <delete>
    68             <fileset dir="distributions/Greenstone-${version}-${os.suffix}-binary">
     69            <fileset dir="${binzip.dir}">
    6970                <include name="common-src/**/*"/>
    7071                <include name="common-src"/>
Note: See TracChangeset for help on using the changeset viewer.