Bug#645873: incorrect target discovery w.r.t. arch dep/indep

2011-10-20 Thread Marcin Owsiany
On Wed, Oct 19, 2011 at 05:15:00PM -0700, Joey Hess wrote: Marcin Owsiany wrote: I also thought that in (1) the override_* targets do not play any role. It's only in (2) that it matters what override_* targets are defined, because that's how dh decides which of them to call instead

Bug#645873: incorrect target discovery w.r.t. arch dep/indep

2011-10-19 Thread Marcin Owsiany
Package: debhelper Version: 8.9.0 Priority: important Justification: can cause builds of packages that violate policy Consider a following snippet: | ifneq (,$(findstring libgadu-doc, $(shell dh_listpackages))) | override_dh_installdocs: | dh_installdocs | # nicer name for api docs

Bug#645873: incorrect target discovery w.r.t. arch dep/indep

2011-10-19 Thread Joey Hess
Marcin Owsiany wrote: Consider a following snippet: | ifneq (,$(findstring libgadu-doc, $(shell dh_listpackages))) | override_dh_installdocs: | dh_installdocs | # nicer name for api docs directory | mv debian/libgadu-doc/usr/share/doc/libgadu-doc/html \ |

Bug#645873: incorrect target discovery w.r.t. arch dep/indep

2011-10-19 Thread Marcin Owsiany
On Wed, Oct 19, 2011 at 10:26:50AM -0700, Joey Hess wrote: Marcin Owsiany wrote: Consider a following snippet: | ifneq (,$(findstring libgadu-doc, $(shell dh_listpackages))) | override_dh_installdocs: | dh_installdocs | # nicer name for api docs directory | mv

Bug#645873: incorrect target discovery w.r.t. arch dep/indep

2011-10-19 Thread Joey Hess
Marcin Owsiany wrote: I also thought that in (1) the override_* targets do not play any role. It's only in (2) that it matters what override_* targets are defined, because that's how dh decides which of them to call instead of the dh_* commands. So the problem is probably that when make is