Use $(MAKE), not make, when recursively calling make
authorIan Lynagh <igloo@earth.li>
Thu, 15 Apr 2010 12:14:53 +0000 (12:14 +0000)
committerIan Lynagh <igloo@earth.li>
Thu, 15 Apr 2010 12:14:53 +0000 (12:14 +0000)
bindisttest/Makefile

index 2780e5f..e7f9aa4 100644 (file)
@@ -40,7 +40,7 @@ ifeq "$(Windows)" "YES"
        mv a/b/c/$(BIN_DIST_NAME) $(BIN_DIST_INST_DIR)
 else
        cd a/b/c/$(BIN_DIST_NAME) && ./configure --prefix=$(BIN_DIST_INST_DIR)
-       cd a/b/c/$(BIN_DIST_NAME) && make install
+       cd a/b/c/$(BIN_DIST_NAME) && $(MAKE) install
 endif
        $(BIN_DIST_INST_DIR)/bin/runghc HelloWorld > output
        $(CONTEXT_DIFF) output expected_output