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

Re: Lintian: outdated-autotools-helper-file



On Mon, Feb 11, 2008 at 05:40:58PM +0530, Kapil Hari Paranjape wrote:
> On Mon, 11 Feb 2008, Bas Wijnen wrote:
> > I suggest to mandate "remove all generated files in the clean target"
> > (formulated in a way which includes "generated by upstream", not only
> > "generated by the build target), which implies "rebuild everything in
> > the build target".
>
> It is a good idea if one can use .orig.tar.gz to be the same as the
> upstream .tar.gz whenever it is DFSG-free to do so.

Yes, I agree with that, but it seems unrelated.

> Note that if the upstream's auto-generated files are deleted during
> the clean target, then the source *must* be re-packaged to avoid
> needless clutter in the .diff.gz which is of a "negative" nature.

Not at all.  Firstly, policy only allows repackaging of the upstream
tarball when really needed (to remove non-free contents, or because it's
not in .tar.gz format), and even when you do it, you must not make more
changes than really needed.  It is unacceptable to repackage just to
avoid cluttering the diff.gz, or even to avoid it by making changes to
an already (for good reasons) repackaged tarball.

Secondly, when the clean target removes all generated files, they are
ignored when generating the diff.gz, so it doesn't actually clutter it.
It does produce some warnings during make clean, but those are not a
problem IMO.

Thanks,
Bas

-- 
I encourage people to send encrypted e-mail (see http://www.gnupg.org).
If you have problems reading my e-mail, use a better reader.
Please send the central message of e-mails as plain text
   in the message body, not as HTML and definitely not as MS Word.
Please do not use the MS Word format for attachments either.
For more information, see http://pcbcn10.phys.rug.nl/e-mail.html

Attachment: signature.asc
Description: Digital signature


Reply to: