Package: debhelper
Version: 7.2.8ubuntu1
Severity: wishlist

The patch attached adds support for building/cleaning with 'ant' if 
build.xml is found

-- System Information:
Debian Release: 5.0
  APT prefers jaunty-updates
  APT policy: (500, 'jaunty-updates'), (500, 'jaunty-security'), (500, 
'jaunty-proposed'), (500, 'jaunty-backports'), (500, 'jaunty')
Architecture: i386 (i686)

Kernel: Linux 2.6.28-13-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages debhelper depends on:
ii  binutils              2.19.1-0ubuntu3    The GNU assembler, linker and bina
ii  dpkg-dev              1.14.24ubuntu1     Debian package development tools
ii  file                  4.26-2ubuntu4      Determines file type using "magic"
ii  html2text             1.3.2a-5           advanced HTML to text converter
ii  man-db                2.5.5-1build1      on-line manual pager
ii  perl                  5.10.0-19ubuntu1.1 Larry Wall's Practical Extraction 
ii  po-debconf            1.0.15ubuntu1      manage translated Debconf template

debhelper recommends no packages.

Versions of packages debhelper suggests:
ii  dh-make                       0.48       tool that converts source archives

-- no debconf information
diff --git a/dh_auto_build b/dh_auto_build
index 75ce51c..ba519b8 100755
--- a/dh_auto_build
+++ b/dh_auto_build
@@ -49,6 +49,9 @@ elsif (-e "Build.PL" && -e "Build") {
 	$ENV{MODULEBUILDRC} = "/dev/null";
 	doit("perl", "Build", @{$dh{U_PARAMS}});
 }
+elsif (-e "build.xml") {
+	doit("ant", @{$dh{U_PARAMS}});
+}
 
 =head1 SEE ALSO
 
diff --git a/dh_auto_clean b/dh_auto_clean
index 610155a..d720b68 100755
--- a/dh_auto_clean
+++ b/dh_auto_clean
@@ -63,6 +63,9 @@ elsif (-e "Build.PL" && -e "Build") {
 	$ENV{MODULEBUILDRC} = "/dev/null";
 	doit("perl", "Build", "--allow_mb_mismatch", 1, "distclean", @{$dh{U_PARAMS}});
 }
+elsif (-e "build.xml") {
+	doit("ant", "clean", @{$dh{U_PARAMS}});
+}
 
 =head1 SEE ALSO
 

Reply via email to