[prev in list] [next in list] [prev in thread] [next in thread] 

List:       debian-devel
Subject:    Re: Building packages twice in a row
From:       lsorense () csclub ! uwaterloo ! ca (Lennart Sorensen)
Date:       2007-05-16 20:48:17
Message-ID: 20070516204817.GD10013 () csclub ! uwaterloo ! ca
[Download RAW message or body]

On Wed, May 16, 2007 at 07:57:33PM +0200, Armin Berres wrote:
> I may be wrong, but IIRC removing those generated files in the clean
> target is the solution if you want a clean .diff.gz.

But dpkg-buildpackage will then spit out lots of warnings about being
unable to store the deletion of a binary file in the diff.  So it will
look ugly, but work I guess.  diff will show the files as having
disappeared of course, versus leaving them there and dpkg-buildpackage
telling you it can't store the changes to binary files in the diff, and
diff will tell you the binary files changed.

So leaving the regenerated files there or deleting them, both result in
the same amount of noise from diff and dpkg-buildpackage for binary
files.  Saving the files, then restoring them as part of cleaning would
be probably the only way to keep diff and dpkg-buildpackage from making
any noise about changes since it is the only way there aren't changes.

--
Len Sorensen


-- 
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic