On Thu, Jun 21, 2012 at 09:37:03AM +0200, Wouter Verhelst wrote:
> On Sun, Jun 17, 2012 at 02:00:04PM +0200, Joachim Breitner wrote:
> > Hi,
> > 
> > it seems that my idea is not well received; point taken, and I do like
> > the alternative about debian/rules creating debian/control in the clean
> > target.
> 
> Do. Not. Do. That.
> 
> Ever.
> 
> if you do, you risk all kinds of problems, like binNMUs having broken
> control files, your package FTBFSing because the script used to generate
> the control file no longer functions, and similar things.
> 
> Building debian/control in an automated fashion is fine, but it must not
> be done as part of any regular "dpkg-buildpackage" call. This includes
> -S, -b, and -B builds (the latter is used by buildd, fwiw).

Well, you can update automatically, but you have to make the target
fail if it actually changes the control file.  (This is roughly what
'linux' and closely associated packages do.)

Ben.

-- 
Ben Hutchings
We get into the habit of living before acquiring the habit of thinking.
                                                              - Albert Camus


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120621150838.gp2...@decadent.org.uk

Reply via email to