Ignore:
Timestamp:
2008-10-31T13:40:08+13:00 (16 years ago)
Author:
oranfry
Message:

distribution and component changes for source releases in lirk2

File:
1 edited

Legend:

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

    r17644 r17649  
    33
    44    <!-- create components from the distribution folder -->
     5
     6    <!-- 1st level -->
    57    <target name="create-components">
    68        <antcall target="prepare-components" />
     
    810    </target>
    911
     12    <!-- 2nd level -->
    1013    <target name="prepare-components">
    1114        <antcall target="prepare-core-component" />
    1215        <antcall target="prepare-sourcecode-component" />
    1316        <antcall target="prepare-imagemagick-component" />
    14 
     17        <antcall target="prepare-sourcecode-core-component" />
    1518    </target>
    1619
     
    1922        <antcall target="compress-sourcecode-component" /> 
    2023        <antcall target="compress-imagemagick-component" />
     24        <antcall target="compress-sourcecode-core-component" />
    2125    </target>
    22    
     26
     27    <!-- 3rd level --> 
    2328    <target name="prepare-core-component">
    2429
     
    8994        <sevenzip task="encode" input="components/imagemagick.comp" output="components/imagemagick.lzma" dictionnary="26"/>
    9095    </target>
     96
     97    <target name="prepare-sourcecode-core-component">
     98        <delete dir="components/tmp/sourcecode-core"/>
     99        <mkdir dir="components/tmp/sourcecode-core"/>
     100
     101        <copy todir="components/tmp/sourcecode-core" overwrite="true">
     102            <fileset dir="distributions/source">
     103                <include name="macros/**/*"/>
     104                <include name="images/**/*"/>
     105                <include name="etc/**/*"/>
     106                <include name="gli/**/*"/>
     107                <include name="collect/**/*"/>
     108                <include name="doc/**/*"/>
     109                <include name="setup.bash"/>
     110            </fileset>
     111        </copy>
     112        <zip destfile="components/sourcecode-core.comp" basedir="components/tmp/sourcecode-core" compress="false" includes="**/*"/>
     113    </target>
    91114   
     115    <target name="compress-sourcecode-core-component">
     116        <sevenzip task="encode" input="components/sourcecode-core.comp" output="components/sourcecode-core.lzma" dictionnary="26"/>
     117    </target>
     118
    92119</project>
Note: See TracChangeset for help on using the changeset viewer.