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

Re: How thorough must the clean target be?



On Thu, 05 Oct 2006, Bill Allombert wrote:
> \usepackage[shameless]{plug}
> \begin{plug}
> I have proposed a (IMVHO) better solution to the
> config.sub/config.guess problem see
> <http://lists.debian.org/debian-science/2006/03/msg00038.html>
> \end{plug}

You know, I'd have appreciated getting that email filed as a bug against
autotools-dev instead of finding about it in this thread.

It is a good idea, I will add it to autotools-dev.

> The only unclear issues is files that exist in the tarball but get
> removed in the clean target. However since dpkg-buildpackage default
> to run debian/rules clean prior to build the package, one might consider 
> to limit the policy requirement to that case:
> 
> 1> dpkg-source -x foo.dsc && cd foo-*
> 2> debian/rules clean
> 3> debian/rules binary
> 4> debian/rules clean
> 
> We would then require that the tree after 4 must be indentical to the
> tree after 2.

Seems *very* good.  Asking for the tree after 4 being the same as the tree
before 2 is not useful to Debian packages at all, and it *is* a hassle that
requires often more expensive build strategies.

I'd second a proposal for "the tree after 4 must be indentical to the tree
after 2".

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh



Reply to: