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 53c4d83..1db864b 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: