From: Julien Viard de Galbert <[email protected]>

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 <[email protected]>
---
 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


_______________________________________________
Quilt-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/quilt-dev

Reply via email to