Ignore:
Timestamp:
2008-12-04T11:22:39+13:00 (15 years ago)
Author:
oranfry
Message:

create needed empty files at build time so they make it into all releases including archive releases

File:
1 edited

Legend:

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

    r18049 r18054  
    88        <antcall target="gli-set-version-numbers"><param name="glibasedir" value="${basedir}/distributions/web/gli"/></antcall>
    99        <antcall target="drop-in-docs" />
    10         <antcall target="tweak-files" />
    1110        <antcall target="insert-uninstaller"><param name="script-format" value="sh"/></antcall> <!-- from rk2-targets -->
    1211        <antcall target="drop-in-demo-collection" />
     
    1615        <antcall target="compile-gli" />
    1716        <antcall target="remove-unneeded-files" />
     17        <antcall target="create-needed-empty-files"><parem name="gsdl.basedir" value="distributions/web"/></antcall>
    1818
    1919        <antcall target="create-binary-zip-linux"/>
    2020
    2121    </target>
    22 
    23     <target name="tweak-files">
    24         <echo level="info">Changing Install.sh to web release</echo>
    25         <rsr file="${basedir}/distributions/web/Install.sh" pattern="^(iscdrom=).*" replacement="$1&quot;no&quot;" />
    26 
    27         <echo level="info">Changing date and version in the docs</echo>
    28         <!-- ar -->
    29         <rsr file="${basedir}/distributions/web/READMEar.txt" pattern="(التاريخ : \s*)(.*)" replacement="$1${month.ar} ${current.year}" />
    30         <rsr file="${basedir}/distributions/web/READMEar.txt" pattern="(النسخه : \s*)(.*)" replacement="$1${version}" />
    31 
    32         <!-- es -->
    33         <rsr file="${basedir}/distributions/web/READMEes.txt" pattern="^(Fecha\s*)(.*)" replacement="$1${month.es} de ${current.year}" />
    34         <rsr file="${basedir}/distributions/web/READMEes.txt" pattern="^(Versi.?n\s*)(.*)" replacement="$1${version}" />
    35         <!-- fr -->
    36         <rsr file="${basedir}/distributions/web/READMEfr.txt" pattern="^(Date\s*)(.*)" replacement="$1${month.fr} ${current.year}" />
    37         <rsr file="${basedir}/distributions/web/READMEfr.txt" pattern="^(Version\s*)(.*)" replacement="$1${version}" />
    38         <!-- ru -->
    39         <rsr file="${basedir}/distributions/web/READMEru.txt" pattern="^(Дата\s*)(.*)" replacement="$1${month.ru} ${current.year}" />
    40         <rsr file="${basedir}/distributions/web/READMEru.txt" pattern="^(ВерсОя\s*)(.*)" replacement="$1${version}" />
    41         <!-- en -->
    42         <rsr file="${basedir}/distributions/web/READMEen.txt" pattern="^(Date\s*)(.*)" replacement="$1${month.default} ${current.year}" />
    43         <rsr file="${basedir}/distributions/web/READMEen.txt" pattern="^(Version\s*)(.*)" replacement="$1${version}" />
    44 
    45     </target>
    46 
    4722
    4823    <target name="drop-in-docs">
Note: See TracChangeset for help on using the changeset viewer.