quilt (0.48-7) makefile_glitche

Summary

 Makefile.in |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

    
download this patch

Patch contents

From: Romain Francoise
Closes: #436936

Here's a patch for this bug; it's necessary because during the
Debian build process the top-level makefile is debian/rules and make
adds -w to MAKEFLAGS for sub-makes, causing the messages to appear
in the documentation when these targets are run.  During a normal
build the makefile is not run by a sub-make so this bug isn't
triggered.

Upstream status: not submitted

---
 Makefile.in |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Index: b/Makefile.in
===================================================================
--- a/Makefile.in
+++ b/Makefile.in
@@ -183,7 +183,7 @@
 	@while read line; do						\
 		case "$$line" in					\
 		'@REFERENCE''@')					\
-			$(MAKE) -s reference				\
+			$(MAKE) -s --no-print-directory reference	\
 			;;						\
 		*)							\
 			printf "%s\n" "$$line"				\
@@ -196,7 +196,7 @@
 	while read line; do						\
 	  case "$$line" in						\
 	  '@REFERENCE''@')						\
-	    $(MAKE) -s reference |					\
+	    $(MAKE) -s --no-print-directory reference |       		\
 	    $(SED) -e 's/^quilt \([^ ]*\)\(.*\)/.IP "\\fB\1\\fP\2 " 4/'	\
 		   -e 's/^  \(-[^\t]*\)\t\?/.IP "    \1" 8\n/'	        \
 		   -e 's/^  \t\?//'					\
@@ -205,7 +205,7 @@
 	    printf "%s\n" "$$line"					\
 	    ;;								\
 	  esac;								\
-	done < $< 2>&1 > $@
+	done < $< > $@
 
 .PHONY :: reference
 reference : $(QUILT:%=quilt/%) quilt/scripts/patchfns compat