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

Bug#704657: debian/rules: Inconsistent required targets



Charles Plessy <plessy@debian.org> writes:

> Would people be satisifed of the following change as a non-normative
> correction, given that the build-arch and build-indep are already marked
> required by the commit above ?

>           The following targets are required and must be implemented
>           by <file>debian/rules</file>: <tt>clean</tt>, <tt>binary</tt>,
> -         <tt>binary-arch</tt>, <tt>binary-indep</tt>, and <tt>build</tt>.
> +         <tt>binary-arch</tt>, <tt>binary-indep</tt>, <tt>build</tt>,
> +         <tt>build-arch</tt> and <tt>build-indep</tt>.
>           These are the targets called by <prgn>dpkg-buildpackage</prgn>.

Yes, it looks good to me.

> PS: The autobuilder are still calling 'build' not 'build-arch', don't
> they ?

No, I believe dpkg has been changed to probe whether the build-arch target
exists and call it by preference if it does, and I think that change is
already live on the buildds.

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


Reply to: