Changeset 19972

Show
Ignore:
Timestamp:
08.07.2009 16:26:32 (10 years ago)
Author:
oranfry
Message:

make use of the definitive source code fileset, and split remove-source into it's own target

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • greenstone3/trunk/build.xml

    r19963 r19972  
    7272  <property environment="env"/> 
    7373 
     74  <!-- get the fileset defining what is sourcecode --> 
     75  <import file="resources/xml/source-fileset.xml"/> 
    7476     
    7577  <!-- version properties for external packages --> 
     
    16421644  </target> 
    16431645 
     1646  <target name="remove-source"> 
     1647    <delete includeEmptyDirs="true"><fileset dir="." defaultexcludes="false"><patternset refid="greenstone3.source.fileset"/></fileset></delete> 
     1648  </target> 
     1649 
    16441650  <target name="dist-tidy" 
    16451651    description="'tidies-up' a greenstone3 installation for distribution."> 
     
    16511657 
    16521658    <!-- delete source files --> 
    1653     <delete dir="${gs2build.home}/source/src"/> 
    1654     <delete dir="${gs2build.home}/source/lib"/> 
    1655     <delete dir="${gs2build.home}/source/packages"/> 
    1656     <delete dir="${gs2build.home}/source/indexers"/> 
    1657     <delete dir="${basedir}/lib/jni"/> 
    1658     <delete dir="${basedir}/gs2build/source"/> 
    1659     <delete file="${basedir}/gs2build/WIN32cfg.h"/> 
    1660     <delete file="${basedir}/gs2build/win32.mak"/> 
     1659    <antcall target="remove-source"/> 
    16611660 
    16621661    <!-- create empty directories -->