{"thread":{"id":"10007","subject":"[PATCH] unexpected Make output (e.g. from --debug) causes build failure","startedAt":"2007-09-25T06:42:16Z","lastAt":"2007-09-25T07:59:29Z","messageCount":2,"participants":["Jim Meyering","David Kastrup"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"53968","messageId":"877imftfef.fsf@rho.meyering.net","threadId":"10007","inReplyTo":null,"subject":"[PATCH] unexpected Make output (e.g. from --debug) causes build failure","fromName":"Jim Meyering","fromEmail":"jim@meyering.net","sentAt":"2007-09-25T06:42:16Z","receivedAt":"2007-09-25T06:42:16Z","isPatch":true,"sender":{"key":"jim@meyering.net","avatar":"https://avatars.githubusercontent.com/u/710630?v=4"},"body":"Without this, the extra output produced e.g., by \"make --debug\"\nwould go into $INSTLIBDIR and then cause the sed command to fail.\n\nSigned-off-by: Jim Meyering <jim@meyering.net>\n---\n Makefile |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\ndiff --git a/Makefile b/Makefile\nindex 0055eef..97ce687 100644\n--- a/Makefile\n+++ b/Makefile\n@@ -805,7 +805,7 @@ perl/perl.mak: GIT-CFLAGS\n\n $(patsubst %.perl,%,$(SCRIPT_PERL)): % : %.perl\n \t$(QUIET_GEN)$(RM) $@ $@+ && \\\n-\tINSTLIBDIR=`$(MAKE) -C perl -s --no-print-directory instlibdir` && \\\n+\tINSTLIBDIR=`MAKEFLAGS= $(MAKE) -C perl -s --no-print-directory instlibdir` && \\\n \tsed -e '1{' \\\n \t    -e '\ts|#!.*perl|#!$(PERL_PATH_SQ)|' \\\n \t    -e '\th' \\\n--\n1.5.3.2.99.ge4b2-dirty\n"},{"id":"53970","messageId":"86zlzbrx9a.fsf@lola.quinscape.zz","threadId":"10007","inReplyTo":"877imftfef.fsf@rho.meyering.net","subject":"Re: [PATCH] unexpected Make output (e.g. from --debug) causes build failure","fromName":"David Kastrup","fromEmail":"dak@gnu.org","sentAt":"2007-09-25T07:59:29Z","receivedAt":"2007-09-25T07:59:29Z","isPatch":true,"sender":{"key":"dak@gnu.org","avatar":"https://avatars.githubusercontent.com/u/52141349?v=4"},"body":"Jim Meyering <jim@meyering.net> writes:\n\n> Without this, the extra output produced e.g., by \"make --debug\"\n> would go into $INSTLIBDIR and then cause the sed command to fail.\n>\n> Signed-off-by: Jim Meyering <jim@meyering.net>\n> ---\n>  Makefile |    2 +-\n>  1 files changed, 1 insertions(+), 1 deletions(-)\n>\n> diff --git a/Makefile b/Makefile\n> index 0055eef..97ce687 100644\n> --- a/Makefile\n> +++ b/Makefile\n> @@ -805,7 +805,7 @@ perl/perl.mak: GIT-CFLAGS\n>\n>  $(patsubst %.perl,%,$(SCRIPT_PERL)): % : %.perl\n>  \t$(QUIET_GEN)$(RM) $@ $@+ && \\\n> -\tINSTLIBDIR=`$(MAKE) -C perl -s --no-print-directory instlibdir` && \\\n> +\tINSTLIBDIR=`MAKEFLAGS= $(MAKE) -C perl -s --no-print-directory instlibdir` && \\\n>  \tsed -e '1{' \\\n>  \t    -e '\ts|#!.*perl|#!$(PERL_PATH_SQ)|' \\\n>  \t    -e '\th' \\\n> --\n> 1.5.3.2.99.ge4b2-dirty\n\nDoes this work with \"make -n\" ?\n\n-- \nDavid Kastrup\n"}]}