From: Richard Levitte Date: Tue, 15 Mar 2016 21:16:35 +0000 (+0100) Subject: Make the perl dependency post-processor into just one line X-Git-Tag: OpenSSL_1_1_0-pre4~12 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=4def90c5de3465bd4bc69d069d5f50367108ab27;ds=sidebyside 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 --- 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 \\