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

Bug#704657: debian/rules: Inconsistent required targets



Le Thu, Apr 04, 2013 at 10:28:41AM +0200, Jakub Wilk a écrit :
> 
> Lintian is "wrong", because it still says that build-* are only
> recommeneded. This is bug #657390.
> 
> Policy is also "wrong" because it doesn't include build-* in the
> list of required targets, despite that they are described as
> required in other place.

Thank you Philipp for your bug report and Jakub for your analysis.

Indeed, it looks like an omission in the patch closing #374029.

    http://anonscm.debian.org/gitweb/?p=dbnpolicy/policy.git;a=blobdiff;f=policy.sgml;h=229a8cc7e99996ecbc9f9958c6dfb4557b004822;hp=8c654d1b3b85a8da40369414278f3e359a06c6f0;hb=af73c2257019136ee0ce9180aebe6eb8be0dd76e;hpb=703e8e4101ed3f8c4c345d05b7ac730b6ff46c50

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>.


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

Have a nice day

-- 
Charles Plessy
Tsurumi, Kanagawa, Japan


Reply to: