[nginx] Configure: call "make clean" for OpenSSL only if Makefil...

Maxim Dounin mdounin at mdounin.ru
Tue Nov 5 16:30:46 UTC 2013


details:   http://hg.nginx.org/nginx/rev/f817f9d1cded
branches:  
changeset: 5438:f817f9d1cded
user:      Piotr Sikora <piotr at cloudflare.com>
date:      Mon Nov 04 17:00:25 2013 -0800
description:
Configure: call "make clean" for OpenSSL only if Makefile exists.

This change allows to build nginx against git checkout of OpenSSL.

Signed-off-by: Piotr Sikora <piotr at cloudflare.com>

diffstat:

 auto/lib/openssl/make |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff --git a/auto/lib/openssl/make b/auto/lib/openssl/make
--- a/auto/lib/openssl/make
+++ b/auto/lib/openssl/make
@@ -55,7 +55,7 @@ END
 
 $OPENSSL/.openssl/include/openssl/ssl.h:	$NGX_MAKEFILE
 	cd $OPENSSL \\
-	&& \$(MAKE) clean \\
+	&& if [ -f Makefile ]; then \$(MAKE) clean; fi \\
 	&& ./config --prefix=$ngx_prefix no-shared $OPENSSL_OPT \\
 	&& \$(MAKE) \\
 	&& \$(MAKE) install LIBDIR=lib



More information about the nginx-devel mailing list