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

Re: Removing parts of upstream tar-ball, parsers, autobuilding



On 07/12/13 23:18 +0100, Bernhard R. Link said ...
> * Thibaut Paumard <paumard@users.sourceforge.net> [071213 14:46]:
> > >Now, the best thing to do would be to copy the upstream tar-ball as-is
> > >to orig.tar.gz and have a patch that removes these files (this will
> > >result in a big diff).
> 
> > I tend to move those files to a safe place in the configure rule and
> > put them back in place in the clean rule. It's often awkward, but
> > that ensures that what is in the diff is meaningful.
> 
> If those file can be easily deleted (i.e. the configure will not fail
> with them not around), then there is not reason to put them back or
> delete them from the .tar.gz, just delete them in the clean target.
> 
> dpkg-source has special code to ignore deleted files so they will not
> bloat the .diff.gz. (and deleting them by the diff would be wasted space
> anyway, a single rm line in debian/rules clean target is much smaller
> than having a copy of the file in the diff).

This is what I am doing now.  Thank you all.

Giridhar

-- 
Y Giridhar Appaji Nag | http://www.appaji.net/

Attachment: signature.asc
Description: Digital signature


Reply to: