quilt-dev
[Top][All Lists]
Advanced

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

[Quilt-dev] [PATCH 1/4] Ensure quilt(1) documents the correct patches di


From: Raphaël Hertzog
Subject: [Quilt-dev] [PATCH 1/4] Ensure quilt(1) documents the correct patches directory
Date: Fri, 24 Feb 2012 00:27:36 +0100

From: Julien Viard de Galbert <address@hidden>

Within the Debian source package, .pc/quilt_patches ensures that
QUILT_PATCHES is set to debian/patches but when we build the
documentation we want the real default directory used by quilt, aka
"patches".

We achieve this by tricking quilt into using a non-existing
.pc directory so that we get the real default value.

Bug-Debian: http://bugs.debian.org/585438
Signed-off-by: Raphaël Hertzog <address@hidden>
---
 Makefile.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index 209dcd3..6912bca 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -216,7 +216,7 @@ doc/reference : bin/quilt $(QUILT:%=quilt/%) 
quilt/scripts/patchfns quilt/script
        for i in $(QUILT);                                              \
        do                                                              \
                echo;                                                   \
-               quilt $$i -h;                                           \
+               QUILT_PC=.fake_pc quilt $$i -h;                         \
                echo;                                                   \
        done |                                                          \
        $(SED) -e 's/\$$EDITOR ([^)]*)/$$EDITOR/'                       \
-- 
1.7.9.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]