aboutsummaryrefslogtreecommitdiff
path: root/ghc.mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2011-11-19 01:33:21 +0000
committerIan Lynagh <igloo@earth.li>2011-11-19 01:33:21 +0000
commit27c3e36448ab7092e0f52be1ce245c7f58a6ebca (patch)
tree68629c097265933eebc6bc2bc9f9846ff39afe48 /ghc.mk
parentb9daadb11580fe4c29d4a6c2be13db5f0f7cdb4f (diff)
Follow GHC build system change to the way we call rm
Diffstat (limited to 'ghc.mk')
-rw-r--r--ghc.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/ghc.mk b/ghc.mk
index 12335fb7..3742565c 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -12,11 +12,11 @@ ifneq "$(BINDIST)" "YES"
$(INPLACE_BIN)/$(utils/haddock_dist_PROG): $(INPLACE_LIB)/html $(INPLACE_LIB)/latex
$(INPLACE_LIB)/html:
- "$(RM)" $(RM_OPTS_REC) $@
+ $(call removeTrees,$@)
"$(CP)" -R utils/haddock/html $@
$(INPLACE_LIB)/latex:
- "$(RM)" $(RM_OPTS_REC) $@
+ $(call removeTrees,$@)
"$(CP)" -R utils/haddock/latex $@
endif
@@ -45,7 +45,7 @@ install_utils/haddock_data:
.PHONY: install_utils/haddock_link
install_utils/haddock_link:
- "$(RM)" $(RM_OPTS) "$(DESTDIR)$(bindir)/haddock"
+ $(call removeFiles,"$(DESTDIR)$(bindir)/haddock")
$(LN_S) $(utils/haddock_dist_INSTALL_SHELL_WRAPPER_NAME) "$(DESTDIR)$(bindir)/haddock"
BINDIST_EXTRAS += $(addprefix utils/haddock/,$(utils/haddock_dist_DATA_FILES))