When we want to give a -f argument to $(MAKE), we'd better make sure the
authorRichard Levitte <levitte@openssl.org>
Fri, 9 Aug 2002 08:50:30 +0000 (08:50 +0000)
committerRichard Levitte <levitte@openssl.org>
Fri, 9 Aug 2002 08:50:30 +0000 (08:50 +0000)
variable doesn't already contain a -f argument.
PR: 203, part 4

Makefile.org

index 53c4d83711cd2ba77ee6cd122159b458b1ca2f38..1db864b27ca4c5602a7b260001af5bea413cc4df 100644 (file)
@@ -733,7 +733,8 @@ install: all install_docs
                done; \
                (       here="`pwd`"; \
                        cd $(INSTALL_PREFIX)$(INSTALLTOP)/lib; \
-                       $(MAKE) -f $$here/Makefile link-shared ); \
+                       set $(MAKE); \
+                       $$1 -f $$here/Makefile link-shared ); \
        fi
 
 install_docs: