Changeset 20051

Show
Ignore:
Timestamp:
21.07.2009 15:53:21 (10 years ago)
Author:
oranfry
Message:

added code specific to windows in dist-tidy

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • greenstone3/trunk/build.xml

    r20034 r20051  
    16741674 
    16751675    <!-- os specific tidy-ups --> 
    1676     <if> 
    1677       <bool><istrue value="${current.os.isunix}"/></bool> 
     1676    <!-- linux, mac --> 
     1677    <if><bool><istrue value="${current.os.isunix}"/></bool> 
    16781678      <delete><fileset dir="." includes="*.bat"/></delete> 
    16791679      <delete><fileset dir="gli" includes="*.bat"/></delete> 
     
    16821682      <delete file="${basedir}/gs2build/win32cfg.h"/> 
    16831683      <delete file="${basedir}/gs2build/win32.mak"/> 
    1684         <delete dir="${basedir}/winutil"/> 
    1685       <delete dir="winutil"/> 
     1684      <delete dir="${basedir}/winutil"/> 
    16861685      <delete failonerror="false"><fileset dir="${lib.jni}" includes="*.dll"/></delete> 
    1687     </if> 
     1686 
     1687    <!-- windows --> 
     1688    <else><if><bool><istrue value="${current.os.iswindows}"/></bool> 
     1689      <delete><fileset dir="." includes="*.sh,*.bash,*.csh"/></delete> 
     1690      <delete><fileset dir="gli" includes="*.sh,*.bash,*.csh"/></delete> 
     1691      <delete><fileset dir="gs2build" includes="*.sh,*.bash,*.csh"/></delete> 
     1692      <delete><fileset dir="bin/script" includes="*.sh,*.bash,*.csh"/></delete> 
     1693    </if></else></if> 
    16881694 
    16891695  </target>