From: Richard Levitte Date: Sat, 23 May 2015 04:33:41 +0000 (+0200) Subject: Fix update and depend in engines/ X-Git-Tag: OpenSSL_1_0_1n~43 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c62592e52f38280e9e31cd42e7a77cf2604518a1;p=openssl Fix update and depend in engines/ The update: target in engines/ didn't recurse into engines/ccgost. The update: and depend: targets in engines/ccgost needed a fixup. Reviewed-by: Rich Salz (cherry picked from commit 8b822d2566853ee5e313c37529f71336209b28ab) --- diff --git a/engines/Makefile b/engines/Makefile index a5b6e0fcc3..23bd2f37f8 100644 --- a/engines/Makefile +++ b/engines/Makefile @@ -148,6 +148,7 @@ lint: update: local_depend @if [ -z "$(THIS)" ]; then $(MAKE) -f $(TOP)/Makefile reflect THIS=$@; fi + @[ -z "$(THIS)" ] || (set -e; target=update; $(RECURSIVE_MAKE) ) depend: local_depend @if [ -z "$(THIS)" ]; then $(MAKE) -f $(TOP)/Makefile reflect THIS=$@; fi diff --git a/engines/ccgost/Makefile b/engines/ccgost/Makefile index 18e7cd53c9..4e183a467b 100644 --- a/engines/ccgost/Makefile +++ b/engines/ccgost/Makefile @@ -67,10 +67,10 @@ links: tests: update: local_depend - @[ -z "$(THIS)" ] && $(MAKE) -f $(TOP)/Makefile reflect THIS=$@ + @if [ -z "$(THIS)" ]; then $(MAKE) -f $(TOP)/Makefile reflect THIS=$@; fi depend: local_depend - @[ -z "$(THIS)" ] && $(MAKE) -f $(TOP)/Makefile reflect THIS=$@ + @if [ -z "$(THIS)" ]; then $(MAKE) -f $(TOP)/Makefile reflect THIS=$@; fi local_depend: @[ -z "$(THIS)" ] || $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)