Changeset 19456 for release-kits/wirk2


Ignore:
Timestamp:
2009-05-14T09:30:01+12:00 (15 years ago)
Author:
oranfry
Message:

readmes will now make it into distribution, also fixed mark2 to produce cdrom components, and removed unused code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release-kits/wirk2/ant-scripts/create-components.xml

    r19396 r19456  
    4141                    <exclude name="bin/windows/ghostscript"/>
    4242                    <exclude name="bin/windows/ghostscript/**/*"/>
    43 
    44                     <!-- exclude sourcecode -->
    45                     <exclude name="common-src"/>
    46                     <exclude name="common-src/**/*"/>
    47                     <exclude name="runtime-src"/>
    48                     <exclude name="runtime-src/**/*"/>
    49                     <exclude name="build-src"/>
    50                     <exclude name="build-src/**/*"/>
    5143                   
    52                     <!-- exclude buildfiles -->
    53                     <exclude name="win32.mak"/>
    54                     <exclude name="win32cfg.h"/>
    55                     <exclude name="makegs2.bat"/>
    56                     <exclude name="Install.txt"/>
    57                    
    58                     <!-- exclude all readmes but the english one -->
    59                     <exclude name="READMEfr.txt"/>
    60                     <exclude name="READMEes.txt"/>
    61                     <exclude name="READMEru.txt"/>
    62                     <exclude name="READMEar.txt"/>
    63                    
    64                                        
    6544                </fileset>
    6645        </copy>
     
    6948    </target>
    7049   
    71    
    7250    <target name="compress-core-component">
    7351        <!-- <sevenzip task="encode" input="${basedir}/components/core.comp" output="${basedir}/components/core.lzma" dictionnary="26"/> -->
    7452        <exec executable="7z.exe" dir="components"><arg line="a -t7z -mx=9 core.lzma core.comp"/></exec>
    7553    </target>
    76    
    77    
    7854   
    7955    <target name="prepare-imagemagick-component">
     
    9470    </target>
    9571   
    96    
    97    
    9872    <target name="prepare-ghostscript-component">
    9973        <delete dir="components/tmp/ghostscript" quiet="true"/>
     
    11185        <!-- <sevenzip task="encode" input="${basedir}/components/ghostscript.comp" output="${basedir}/components/ghostscript.lzma" dictionnary="26"/> -->
    11286        <exec executable="7z.exe" dir="components"><arg line="a -t7z -mx=9 ghostscript.lzma ghostscript.comp"/></exec>
    113     </target>
    114    
    115    
    116    
    117     <target name="prepare-sourcecode-component">
    118         <delete dir="components/tmp/sourcecode" quiet="true"/>
    119         <mkdir dir="components/tmp/sourcecode"/>
    120         <copy todir="components/tmp/sourcecode" overwrite="true">
    121                 <fileset dir="distributions/web">
    122                     <include name="common-src/**/*"/>
    123                     <include name="runtime-src/**/*"/>
    124                     <include name="build-src/**/*"/>
    125                     <include name="win32.mak"/>
    126                     <include name="win32cfg.h"/>
    127                     <include name="makegs2.bat"/>
    128                     <include name="Install.txt"/>
    129                 </fileset>
    130         </copy>
    131                
    132         <mkdir dir="products"/>
    133         <zip destfile="products/Greenstone-${version}-${os.suffix}-sourcecode-component.zip" basedir="components/tmp/sourcecode" compress="true"/>
    13487    </target>
    13588
     
    165118        </copy>
    166119       
    167         <!-- sourcecode -->
    168         <mkdir dir="components/tmp/cdrom/sourcecode/windows"/>
    169         <copy todir="components/tmp/cdrom/sourcecode/windows" overwrite="true">
    170             <fileset dir="components/tmp/sourcecode">
    171                 <include name="win32.mak"/>
    172                 <include name="win32cfg.h"/>
    173                 <include name="makegs2.bat"/>
    174             </fileset>
    175         </copy>
     120        <tar destfile="products/cdrom-components-${version}-windows.tar.gz" basedir="components/tmp/cdrom" compression="gzip"/>
    176121
    177                 <tar destfile="products/cdrom-components-${version}-windows.tar.gz" basedir="components/tmp/cdrom" compression="gzip"/>
    178 
    179         </target>
     122    </target>
    180123       
    181124</project>
Note: See TracChangeset for help on using the changeset viewer.