aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ghc.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/ghc.mk b/ghc.mk
index 0a11b95b..22d0968b 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -13,8 +13,8 @@ ifneq "$(BINDIST)" "YES"
$(INPLACE_BIN)/$(utils/haddock_dist_PROG): $(INPLACE_LIB)/html
$(INPLACE_LIB)/html:
- $(RM) -rf $@
- $(CP) -R utils/haddock/html $@
+ "$(RM)" $(RM_OPTS) -r $@
+ "$(CP)" -R utils/haddock/html $@
$(eval $(call build-prog,utils/haddock,dist,2))
@@ -25,8 +25,8 @@ endif
install: install_utils/haddock_html
.PHONY: install_utils/haddock_html
install_utils/haddock_html:
- $(RM) -rf $(DESTDIR)$(datadir)/html
- $(CP) -R utils/haddock/html $(DESTDIR)$(datadir)/html
+ "$(RM)" $(RM_OPTS) -r $(DESTDIR)$(datadir)/html
+ "$(CP)" -R utils/haddock/html $(DESTDIR)$(datadir)/html
BINDIST_EXTRAS += $(addprefix utils/haddock/,html/*)