PR: 2235
authorDr. Stephen Henson <steve@openssl.org>
Wed, 14 Apr 2010 23:04:19 +0000 (23:04 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 14 Apr 2010 23:04:19 +0000 (23:04 +0000)
Submitted By: Bruce Stephens <bruce.stephens@isode.com>

Make ts/Makefile consistent with other Makefiles.

crypto/ts/Makefile

index ad29b67bd09e46e80f70b39d45f82992aec7d56a..c18234555be300a4d89ca7c1d6ddfa8c8cb3325e 100644 (file)
@@ -60,7 +60,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 ); \