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

Makefile.org

index ba6a1ec45e973103282be33a41bdcd4d2613a79c..56e11a144b721f7182698b08984894c687d2b6d3 100644 (file)
@@ -677,7 +677,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: