summaryrefslogtreecommitdiffstats
path: root/crypto/srp
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2012-02-23 13:49:22 +0000
committerDr. Stephen Henson <steve@openssl.org>2012-02-23 13:49:22 +0000
commit6ca7dba0cfc863359b16e23f0c1cbe1b7b5b4748 (patch)
tree121cfc023f0594763cca02c2454490823fb858e8 /crypto/srp
parentf1fa05b4070ff237ff7d6a6ef123024a396a19c8 (diff)
PR: 2727
Submitted by: Bruce Stephens <bruce.stephens@isode.com> Use same construct for EXHEADER in srp/Makefile as other makefiles to cope with possibly empty EXHEADER.
Diffstat (limited to 'crypto/srp')
-rw-r--r--crypto/srp/Makefile3
1 files changed, 2 insertions, 1 deletions
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 ); \