On Thu, Jan 07, 2010 at 07:47:10PM +0100, Enrico Scholz wrote:
Jonathan Underwood <jonathan.underwood(a)gmail.com> writes:
> I have used make patch quite a bit when developing patches. I guess
> it's just a wrapper around gendiff though, so it maybe redundant i.e.
> in my use case I could have been using gendiff.
fwiw, 'gendiff' does not retain comments in patches and fails when one
file is touched by multiple patches. I wrote a wrapper around 'quilt'
which is used like
Iirc there is a rediff target to keep the comments in a spec. gendiff
works with multiple patches if one only wants to modify the last patch
and the patches are applied with the right backup-suffixes in %patch.
| %apply -n23 -p1
This expands to
| quilt import -p 1 %PATCH23
| quilt push -f
resp.
| %patch23 -p1
on systems without this macro. Refreshing and developing of patches is
very easy in this way.
Would you please provide more instructions about how to implement it and
how to use it?
Regards
Till