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

Re: Bug#397939: Proposal: Packages must have a working clean target



This one time, at band camp, Kurt Roeckx said:
> On Fri, Nov 10, 2006 at 04:11:22PM +0100, Martin Zobel-Helas wrote:
> > 
> > during the last months i had to review several packages. Quite a number
> > of packages were not buildable two times (eg. "unrepresentable changes
> > to source"). Most of these packages used svn-buildpackage or
> > cvs-buildpackage. This bug is quite annoying as one needs to either
> > manual interact or run dpkg-source -x again.
> > 
> > I therefore propose a policy change for etch+1, that all packages need
> > to have a proper working clean target, so a directly rebuild of the
> > package is possible without manual interaction.
> 
> And by "need" you mean MUST?  In the subject you also use the word must.
> 
> I would like to see such a change.

clean

    This must undo any effects that the build and binary targets may
    have had, except that it should leave alone any output files created
    in the parent directory by a run of a binary target. 

We already have this rule, and it is a must directive already.
-- 
 -----------------------------------------------------------------
|   ,''`.                                            Stephen Gran |
|  : :' :                                        sgran@debian.org |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
 -----------------------------------------------------------------

Attachment: signature.asc
Description: Digital signature


Reply to: