From: Piotr Sikora Date: Tue, 5 Nov 2013 01:00:25 +0000 (-0800) Subject: Configure: call "make clean" for OpenSSL only if Makefile exists. X-Git-Tag: release-1.5.7~5 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=49282c8e9d34d7773add4d6996b36974f26ce3ef;p=nginx.git 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 --- diff --git a/auto/lib/openssl/make b/auto/lib/openssl/make index 9090fcbfd..e64acd973 100644 --- 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