Bug#802519: gnome-clocks: "debian/rules clean" doesn't

Niko Tyni ntyni at debian.org
Tue Oct 20 21:08:17 UTC 2015


On Tue, Oct 20, 2015 at 09:58:27PM +0200, Michael Biebl wrote:
> Am 20.10.2015 um 21:51 schrieb Michael Biebl:
> > Am 20.10.2015 um 20:47 schrieb Niko Tyni:
> >> Package: gnome-clocks
> >> Version: 3.18.0-1
> >> Severity: minor
> >>
> >> The debian/rules 'clean' target in this package doesn't seem to clean
> >> anything, it just updates debian/control from control.in.
> >>
> > 
> > Looks like a problem in debhelper/dh to me.
> > 
> > Feel free to investigate and re-assign to debhelper.
> 
> On a second look, it's a (bad) interaction between
> /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
> and dh. uploaders.mk uses cdbs-style extending of the clean:: target and
> in case of dh this doesn't seem to work too well.

Yes, I got this far as well.
 
> Not sure if this is a bug in gnome-pkg-tools/uploaders.mk and if we
> should add dh specific makefile rules, or if extending clean via clean::
> is supposed to work under dh as well.

I don't think it can really work. The dh magic relies on the wildcard
pattern % matching everything, but a separate clean:: target will always
be a better match.

So a separate set of makefile rules seems the only way to me.
-- 
Niko Tyni   ntyni at debian.org



More information about the pkg-gnome-maintainers mailing list