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:49:46 +0000 (08:49 +0000)
committerRichard Levitte <levitte@openssl.org>
Fri, 9 Aug 2002 08:49:46 +0000 (08:49 +0000)
variable doesn't already contain a -f argument.
PR: 203, part 4

Makefile.org

index 62e71809e58a0720c42f055e5c56bcde15d029ac..afeedaec6f7d70f6f9098010c958efc9b067da11 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: