From 4def90c5de3465bd4bc69d069d5f50367108ab27 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Tue, 15 Mar 2016 22:16:35 +0100 Subject: [PATCH] Make the perl dependency post-processor into just one line Make doesn't always treat multiline quoted strings as nicely as one would wish. Reviewed-by: Andy Polyakov --- Configurations/unix-Makefile.tmpl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl index da6b880bd2..117c404ff2 100644 --- a/Configurations/unix-Makefile.tmpl +++ b/Configurations/unix-Makefile.tmpl @@ -892,9 +892,7 @@ $obj$depext: $deps rm -f \$\@.tmp; touch \$\@.tmp -\$(MAKEDEPEND) -f\$\@.tmp -o"|$obj$objext" -- \$(CFLAGS) $ecflags$incs -- $srcs \\ 2>/dev/null - perl -i -pe 's/^.*\\|//; s/ \\/(\\\\.|[^ ])*//; #\\ - \$\$_ = undef if (/: *\$\$/ || /^(#.*| *)\$\$/); #\\ - \$\$_.="\\n" unless !defined(\$\$_) or /\\R\$\$/g;' \$\@.tmp + perl -i -pe 's/^.*\\|//; s/ \\/(\\\\.|[^ ])*//; \$\$_ = undef if (/: *\$\$/ || /^(#.*| *)\$\$/); \$\$_.="\\n" unless !defined(\$\$_) or /\\R\$\$/g;' \$\@.tmp \@if cmp \$\@.tmp \$\@ > /dev/null 2> /dev/null; then \\ rm -f \$\@.tmp; \\ else \\ -- 2.25.1