[libcatalyst-modules-perl] 07/10: update quilt guide for easier off-the-tree patch management
Damyan Ivanov
dmn at moszumanska.debian.org
Mon May 12 10:09:45 UTC 2014
This is an automated email from the git hooks/post-receive script.
dmn pushed a commit to branch master
in repository libcatalyst-modules-perl.
commit 1e8f5d4805ab6b120d40b0205f71b5aea86be2c9
Author: Damyan Ivanov <dmn at debian.org>
Date: Mon May 12 08:59:16 2014 +0000
update quilt guide for easier off-the-tree patch management
---
debian/README.source | 20 +++++++++++++-------
1 file changed, 13 insertions(+), 7 deletions(-)
diff --git a/debian/README.source b/debian/README.source
index 176d159..626cb10 100644
--- a/debian/README.source
+++ b/debian/README.source
@@ -19,15 +19,21 @@ This package uses quilt to manage all modifications to the upstream
source. Changes are stored as diffs in debian/patches inside the source
package and applied during the build.
-In order to patch a specific upstream distribution, the directory
-debian/patches/$(Module-Name) has to exist.
-Then run
- export QUILT_PATCHES=patches
- make -f debian/rules patch
-and change to the module directory in build-area/$(xx)/$(Module-Name).
+The following addition to ~/.quiltrc is needed for easier patch handling:
+
+ if echo $PWD | grep -q -E "^$(pkg-perl-root)/git/packages/libcatalyst-modules-perl/build-area/"; then
+ QUILT_PATCHES=patches
+ fi
+
+In order to patch a specific upstream distribution, first prepare the
+build-area and apply all patches:
+
+ $ debian/rules patch
+
+Then to the module directory in build-area/$(xx)/$(Module-Name).
The symlink "patches" there should point to a directory in debian/patches.
You can now use quilt as usual.
Run
make -f debian/rules unpatch
-to remove all applied patches.
+in the package root (../../..) to remove all applied patches.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcatalyst-modules-perl.git
More information about the Pkg-perl-cvs-commits
mailing list