From: Dr. Stephen Henson Date: Thu, 23 Feb 2012 13:49:22 +0000 (+0000) Subject: PR: 2727 X-Git-Tag: OpenSSL_1_0_1-beta3~3 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6ca7dba0cfc863359b16e23f0c1cbe1b7b5b4748;p=oweals%2Fopenssl.git PR: 2727 Submitted by: Bruce Stephens Use same construct for EXHEADER in srp/Makefile as other makefiles to cope with possibly empty EXHEADER. --- diff --git a/crypto/srp/Makefile b/crypto/srp/Makefile index 1b75368966..41859d46fa 100644 --- a/crypto/srp/Makefile +++ b/crypto/srp/Makefile @@ -43,7 +43,8 @@ links: @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) install: - @for i in $(EXHEADER) ; \ + @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile... + @headerlist="$(EXHEADER)"; for i in $$headerlist ; \ do \ (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \