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

Re: Quilt and patches directory

Nick Leverton <nick@leverton.org> writes:
> On Sun, Sep 14, 2008 at 01:41:54PM -0700, Russ Allbery wrote:

>> 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.

You add:

    include /usr/share/quilt/quilt.make

to debian/rules and then make your first target (usually configure, build,
configure-stamp, build-stamp, or something like that) depend on
$(QUILT_STAMPFN) and your clean target depend on unpatch.  That handles
applying and removing the patches during the build.

Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>

Reply to: