Changeset 19012

Show
Ignore:
Timestamp:
16.04.2009 15:42:57 (10 years ago)
Author:
oranfry
Message:

fixes to the code which create the cd components

Files:
1 modified

Legend:

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

    r18847 r19012  
    143143        cd components 
    144144        produce components for cdrom distributions, to be picked up and used by cdrk2 release kit 
    145         split components into windows only files (windows) and general files (all) 
     145        pull out windows only files  
    146146    --> 
    147147    <target name="produce-cd-components"> 
     
    150150 
    151151        <!-- core --> 
    152         <mkdir dir="components/tmp/cdrom/core/all"/> 
    153152        <mkdir dir="components/tmp/cdrom/core/windows"/> 
    154         <copy todir="components/tmp/cdrom/core/all" overwrite="true"> 
    155             <fileset dir="components/tmp/core"/> 
    156         </copy> 
    157         <move todir="components/tmp/cdrom/core/windows" overwrite="true"> 
    158             <fileset dir="components/tmp/cdrom/core/all"> 
     153        <copy todir="components/tmp/cdrom/core/windows" overwrite="true"> 
     154            <fileset dir="components/tmp/core"> 
    159155                <include name="bin/windows"/> 
    160156                <include name="bin/windows/**/*"/> 
    161157                <include name="*.bat"/> 
    162158            </fileset> 
    163         </move> 
     159        </copy> 
    164160 
    165         <!-- imagemagick (all windows specific) --> 
     161        <!-- imagemagick --> 
    166162        <mkdir dir="components/tmp/cdrom/imagemagick/windows"/> 
    167163        <copy todir="components/tmp/cdrom/imagemagick/windows" overwrite="true"> 
     
    169165        </copy> 
    170166 
     167        <!-- ghostscript --> 
     168        <mkdir dir="components/tmp/cdrom/ghostscript/windows"/> 
     169        <copy todir="components/tmp/cdrom/ghostscript/windows" overwrite="true"> 
     170            <fileset dir="components/tmp/ghostscript"/> 
     171        </copy> 
     172         
     173        <!-- sourcecode --> 
     174        <mkdir dir="components/tmp/cdrom/sourcecode/windows"/> 
     175        <copy todir="components/tmp/cdrom/sourcecode/windows" overwrite="true"> 
     176            <fileset dir="components/tmp/sourcecode"> 
     177                <include name="win32.mak"/> 
     178                <include name="win32cfg.h"/> 
     179                <include name="makegs2.bat"/> 
     180            </fileset> 
     181        </copy> 
    171182 
    172         <!-- sourcecode --> 
    173         <mkdir dir="components/tmp/cdrom/sourcecode/all"/> 
    174         <mkdir dir="components/tmp/cdrom/sourcecode/windows"/> 
    175         <copy todir="components/tmp/cdrom/sourcecode/all" overwrite="true"> 
    176             <fileset dir="components/tmp/sourcecode"/> 
    177         </copy> 
    178         <move todir="components/tmp/cdrom/sourcecode/windows" overwrite="true"> 
    179             <fileset dir="components/tmp/cdrom/sourcecode/all"> 
    180                 <include name="win32.mak"/> 
    181             </fileset> 
    182         </move> 
     183                <tar destfile="products/cdrom-components-${version}-windows.tar.gz" basedir="components/tmp/cdrom" compression="gzip"/> 
    183184 
    184         <tar destfile="products/cdrom-linux-${version}.tar.gz" basedir="components/tmp/cdrom" compression="gzip"/> 
    185          
    186     </target> 
     185        </target> 
    187186         
    188187</project>