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

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



Stephen Gran <sgran@debian.org> writes:

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

As previously discussed, it's very difficult to comply with this directive
as written if one is following the autotools-dev recommendations for how
to regenerate the various autotools files.  Before putting too much weight
on this directive, I'd really like to find some way of reconciling that,
since right now it's a frequently-violated dictate of Policy.

Certainly, though, being unable to build a package twice is a bug that
should be reported against that package.  (I actually don't know if any of
my packages have this problem; some of them have so many build
dependencies that I always build them in pbuilder chroot.  Hm.)

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



Reply to: