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

Re: Quilt and patches directory



On Sun, 14 Sep 2008 15:24:08 -0700, Russ Allbery wrote:

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

This might be a little OT, but, yes, even if I've always used $(QUILT_STAMPFN),
but also "patch" works. Why do we use that $() thing?

The very first lines of the file you pointed to are:

QUILT_STAMPFN   ?= debian/stamp-patched

# QUILT_PATCH_DIR: where the patches live
QUILT_PATCH_DIR ?= debian/patches

patch: $(QUILT_STAMPFN)
$(QUILT_STAMPFN):
	[..]

Thus, adding "patch" is perfectly the same, it seems -- but I've had pointers by
previous sponsors to use "$(QUILT_STAMPFN)" instead of "patch". Why?

Kindly,
David 

-- 
 . ''`.  Debian maintainer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://snipr.com/qa_page
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174

Attachment: signature.asc
Description: PGP signature


Reply to: