Package: libjdom1-java
Version: 1.1+dfsg-1
Severity: normal

I've added support for ant to the new version of debhelper
(currently in experimental, but unstable soon).

Your rules file has:

build-stamp: patch
        dh build
        $(ANT) package javadoc

Previously, the 'dh build' was a no-op, because it didn't
know how to build, and the command just did nothing in that case.
But now, dh_auto_build knows how to run ant, and it does 
so, resulting in things being built twice.

I guess you need to pass "package javadoc" to ant and run
ant with parameters/path from $(ANT), so here's how you can modify
your rules file to avoid dh_auto_build doing a redundant build:

build-stamp: patch
        dh build

override_dh_auto_build
        $(ANT) package javadoc

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-1-686 (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/bash

-- 
see shy jo



----- End forwarded message -----
-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

_______________________________________________
pkg-java-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers

Reply via email to