From: Dr. Stephen Henson Date: Thu, 23 Feb 2012 13:49:35 +0000 (+0000) Subject: PR: 2727 X-Git-Tag: master-post-reformat~1938 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4d3670fa5053a499ee2ea95c9b7a6ad94172c88d;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 d37d46c260..81b4197758 100644 --- a/crypto/srp/Makefile +++ b/crypto/srp/Makefile @@ -42,7 +42,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 ); \