Changeset b97197c for build.xml


Ignore:
Timestamp:
Jan 26, 2010 3:21:41 PM (10 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
a821ea2
Parents:
47469192
Message:
  • Debian: Fixup, update, enhance dream's scripts
  • build.xml: Speed up sponge's distclean additions
File:
1 edited

Legend:

Unmodified
Added
Removed
  • build.xml

    r47469192 rb97197c  
    198198    </target>
    199199    <target name="distclean" depends="clean">
     200        <delete dir="debian/tmp" />
     201        <delete file="debian/files" />
    200202        <ant dir="core/java/" target="distclean" />
    201203        <ant dir="router/java/" target="distclean" />
     
    238240
    239241        <delete>
    240             <fileset dir="." includes="**/*.class" />
    241             <fileset dir="." includes="**/*.java~" />
     242            <fileset dir="." includes="**/*.class **/*.java~ **/*.txt~ **/*.xml~ **/*.sh~ **/*.SlackBuild~" />
    242243            <!--
    243244                Less common, but they pollute my workspace here, so we
     
    248249                ++Sponge
    249250            -->
    250             <fileset dir="." includes="**/*.txt~" />
    251             <fileset dir="." includes="**/*.xml~"  />
    252             <fileset dir="." includes="**/*.sh~"  />
    253             <fileset dir="." includes="**/*.SlackBuild~" />
    254251        </delete>
    255252        <!--
     
    772769        <echo message="... and mtn cert t:i2p-${release.number} branch i2p.i2p.release" />
    773770    </target>
     771    <target name="debian">
     772        <echo message="Did you update the version in these files?" />
     773        <exec executable="ls" failonerror="true">
     774            <arg value="-l" />
     775            <arg value="debian/changelog" />
     776        </exec>
     777        <echo message="====================" />
     778        <exec executable="dpkg-buildpackage" failifexecutionfails="true" >
     779            <arg value="-b" />
     780        </exec>
     781    </target>
    774782</project>
Note: See TracChangeset for help on using the changeset viewer.