Re: Quilt and patches directory
On 2008-09-14, Nick Leverton <firstname.lastname@example.org> wrote:
> On Sun, Sep 14, 2008 at 01:41:54PM -0700, Russ Allbery wrote:
>> Nick Leverton <email@example.com> writes:
>> > You can also set QUILT_PATCHES=debian/patches in debian/rules for the
>> > use of dpkg-buildpackage.
>> For that, I recommend including the quilt makefile fragment instead.
> Thanks, do you have a quick pointer to that please, Russ ? I googled
> but couldn't see directly relevant answers in a Debian context.
If you want to work with quilt for creating and managing patches in
general, you need more than changes to debian/rules.
If you only want to use quilt to apply/unapply patches at build time,
but manage and create patches differently, then changes to debian/rules
is enough. And for that, you can use /usr/share/quilt/quilt.make and the
$(QUILT_STAMPFN) and unpatch targets.