r752 - in zope-advancedquery/trunk/debian: . patches

Jérémy Bobbio lunar at debian.org
Fri Apr 6 11:09:52 UTC 2007


On Wed, Apr 04, 2007 at 09:13:51PM +0000, Bernd Zeimetz wrote:
> +patch: patch-stamp
> +patch-stamp:
> +	dpatch apply-all
> +	dpatch cat-all >patch-stamp
> +	touch patch-stamp
> +
> +unpatch:
> +	dpatch deapply-all
> +	rm -rf patch-stamp debian/patched
> +
> +

You could actually replace those by:
  include /usr/share/dpatch/dpatch.make

(See /usr/share/doc/dpatch/examples/rules/rules.dh.gz)

Also, don't forget that the "patch" and "unpatch" targets should be
listed in the .PHONY pseudo-rule.  They don't create any files named
"patch" or "unpatch", and therefore should not be tested against an
existing files named likewise.

Cheers,
-- 
Jérémy Bobbio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-zope-developers/attachments/20070406/c5a2eb04/attachment.pgp


More information about the pkg-zope-developers mailing list