Changeset 19903


Ignore:
Timestamp:
06/24/09 15:16:28 (12 years ago)
Author:
oranfry
Message:

added a target to tidy up a greenstone3 installation for a release

File:
1 edited

Legend:

Unmodified
Added
Removed
  • greenstone3/trunk/build.xml

    r19894 r19903  
    142142      <os family="unix"/>
    143143      <not>
    144     <os family="mac"/>
     144  <os family="mac"/>
    145145      </not>
    146146    </and>
     
    15651565  </target>
    15661566
     1567  <target name="dist-tidy"
     1568    description="'tidies-up' a greenstone3 installation for distribution.">
     1569
     1570    <!-- delete unneeded things -->
     1571    <delete dir="${gs2build.home}/gs2build-extra"/>
     1572    <delete dir="${packages.home}/axis"/>
     1573    <delete><fileset dir="${packages.home}" includes="*.zip"/></delete>
     1574    <delete file="README-SVN.txt"/>
     1575    <delete file="${gli.home}/gems.sh"/>
     1576
     1577    <!-- delete some source files -->
     1578    <delete dir="${gs2build.home}/source/src"/>
     1579    <delete dir="${gs2build.home}/source/lib"/>
     1580    <delete dir="${gs2build.home}/source/packages"/>
     1581    <delete dir="${gs2build.home}/source/indexers"/>
     1582
     1583    <delete dir="${basedir}/build"/>
     1584    <delete dir="${basedir}/lib/jni"/>
     1585    <delete dir="${basedir}/winutil"/>
     1586    <delete dir="${basedir}/dist-resources"/>
     1587    <delete dir="${basedir}/gs2build/source"/>
     1588
     1589    <delete file="${basedir}/gs2build/WIN32cfg.h"/>
     1590    <delete file="${basedir}/gs2build/win32.mak"/>
     1591
     1592    <!-- create empty directories -->
     1593    <mkdir dir="${web.home}/applet"/>
     1594    <mkdir dir="${web.home}/logs"/>
     1595
     1596    <!-- os specific tidy-ups -->
     1597    <if>
     1598      <bool><istrue value="${current.os.isunix}"/></bool>
     1599      <delete><fileset dir="." includes="*.bat"/></delete>
     1600      <delete><fileset dir="gli" includes="*.bat"/></delete>
     1601      <delete><fileset dir="gs2build" includes="*.bat"/></delete>
     1602      <delete><fileset dir="bin/script" includes="*.bat"/></delete>
     1603      <delete dir="winutil"/>
     1604      <delete failonerror="false"><fileset dir="${lib.jni}" includes="*.dll"/></delete>
     1605    </if>
     1606
     1607  </target>
     1608
     1609
    15671610</project>
Note: See TracChangeset for help on using the changeset viewer.