diff options
author | Richard Levitte <levitte@openssl.org> | 2015-05-23 06:33:41 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2015-05-23 06:33:41 +0200 |
commit | 8b822d2566853ee5e313c37529f71336209b28ab (patch) | |
tree | f9dbbdffaebdbaa5c7c482dda821fa55d0d4833d | |
parent | 6f45032f6730622e8d484d92e07c7fce7d1f88ac (diff) | |
download | openssl-new-8b822d2566853ee5e313c37529f71336209b28ab.tar.gz |
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 <rsalz@openssl.org>
-rw-r--r-- | engines/Makefile | 1 | ||||
-rw-r--r-- | engines/ccgost/Makefile | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/engines/Makefile b/engines/Makefile index eca15e2954..e9dc1c47cc 100644 --- a/engines/Makefile +++ b/engines/Makefile @@ -136,6 +136,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 f3378aa98d..57b9c59f17 100644 --- a/engines/ccgost/Makefile +++ b/engines/ccgost/Makefile @@ -64,10 +64,10 @@ install: 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) |