summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Marlow <simonmar@microsoft.com>2007-10-26 11:10:54 +0000
committerSimon Marlow <simonmar@microsoft.com>2007-10-26 11:10:54 +0000
commitd59e5356ca49548f9a3e51e03742adec72356a94 (patch)
tree6f1a7081f5c43ba6cc503068965f9b39d31e526c
parentb1024ec6935262a63908656952e34a5e38a27d6a (diff)
downloadhaskell-d59e5356ca49548f9a3e51e03742adec72356a94.tar.gz
cp => $(CP)
-rw-r--r--mk/install.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/mk/install.mk b/mk/install.mk
index e73a82f5c4..d2e8d030a4 100644
--- a/mk/install.mk
+++ b/mk/install.mk
@@ -268,7 +268,7 @@ endif
ifneq "$(strip $(INSTALL_XML_DOC))" ""
binary-dist::
$(MKDIRHIER) $(BIN_DIST_DIR)/docs/$(XML_DOC)
- cp Makefile $(BIN_DIST_DIR)/docs/$(XML_DOC)
+ $(CP) Makefile $(BIN_DIST_DIR)/docs/$(XML_DOC)
ifneq "$(XMLDocWays)" ""
# TODO: The following could be an entry for an Obfuscated Makefile Contest...
@@ -295,13 +295,13 @@ binary-dist:: $(foreach i,$(XMLDocWays),$(INSTALL_XML_DOC)$(patsubst %.html-no-c
binary-dist:: $(foreach i,$(XMLDocWays),binary-dist-docs-$i)
binary-dist-docs-html:
- cp -r $(INSTALL_XML_DOC) $(BIN_DIST_DIR)/docs/$(XML_DOC)/
+ $(CP) -r $(INSTALL_XML_DOC) $(BIN_DIST_DIR)/docs/$(XML_DOC)/
binary-dist-docs-html-no-chunks:
- cp $(INSTALL_XML_DOC).html $(BIN_DIST_DIR)/docs/$(XML_DOC)/
+ $(CP) $(INSTALL_XML_DOC).html $(BIN_DIST_DIR)/docs/$(XML_DOC)/
binary-dist-docs-%:
- cp $(INSTALL_XML_DOC).$* $(BIN_DIST_DIR)/docs/$(XML_DOC)/
+ $(CP) $(INSTALL_XML_DOC).$* $(BIN_DIST_DIR)/docs/$(XML_DOC)/
endif
endif