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

Re: Building packages twice in a row

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

Reply to: