[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#345619: debian-policy: 4.8. binary-{arch, indep} should fail with error code 2 -> must



Kari Pahula <kari@sammakko.yok.utu.fi> writes:
> On Wed, Jan 04, 2006 at 10:30:04AM -0800, Russ Allbery wrote:

>> The difficulty with this sort of change is that it requires changing
>> every Debian package, or near to.  I'm going to have the same problem
>> with

> As far as changes go, this one can be minimally implemented by adding
> these two lines to debian/rules:
> build-arch: build
> build-indep: build

Oh, it's incredibly trivial, sure.  The *difficulty* of the change isn't
the issue.  Installing documentation in /usr/share/doc instead of /usr/doc
is incredibly trivial as well.  :)  (Admittedly, this is even more
trivial, but you see the point.)

> Lintian can trivially catch the vast majority of missing targets by
> running
> make -n -f debian/rules build-arch build-indep >/dev/null || echo boo!

Oh, yeah, that's right, debian/rules is required to be a makefile now.
Yeah, I don't think the lintian probe would be too hard.

I just don't know how this sort of change fits into the policy process.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>



Reply to: