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

Make ts/Makefile consistent with other Makefiles.

crypto/ts/Makefile

index ad29b67..c182345 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 ); \