Ignore:
Timestamp:
2014-10-20T20:50:49+13:00 (10 years ago)
Author:
sjm84
Message:

Related to commit 29387. Changes to allow the release-kits to preserve the source code, to better enable debugging of differences in the release-kits. Tested with GS3 on the 32 bit linux: without setting the new KEEP_SRC env var in bin/rk, it still removes the src code as before and produces a binary of the same size as before. With the KEEP_SRC env var set to true in bin/rk, src code (gs2build/common-src, gli/src and GS3/src) is preserved. Untested on Windows or with gs2 since the gs2 binary generation on linux 32 is not working at present.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/release-kits/shared/core/ant-scripts/shared.xml

    r29251 r29393  
    236236
    237237    <!-- a target to strip any directory of .svn folders -->
    238     <target name="strip-svn-dirs">
     238    <target name="strip-svn-dirs" unless="${keep.src}">
    239239        <delete includeemptydirs="true">
    240240            <fileset dir="${dir}" defaultexcludes="false">
     
    380380
    381381    <!-- target to tidy gli up for distribution -->
    382     <target name="gli-tidy-for-dist">
     382    <target name="gli-tidy-for-dist" unless="${keep.src}">
    383383        <!-- delete unneeded things -->
    384384        <delete file="${glibasedir}/.greenstonestore"/>     
Note: See TracChangeset for help on using the changeset viewer.