Bug#538020: double build with debhelper 7.3.5
Joey Hess
joeyh at debian.org
Wed Jul 22 13:45:54 UTC 2009
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20090722/7538d246/attachment.pgp>
More information about the pkg-java-maintainers
mailing list