aboutsummaryrefslogtreecommitdiff
path: root/ghc.mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2009-05-31 00:37:53 +0000
committerIan Lynagh <igloo@earth.li>2009-05-31 00:37:53 +0000
commit2f757ce193579339b378f65ae342a5f97b214c39 (patch)
treee22cf443c7561ffa77d8a9fdd9980bfb53522b30 /ghc.mk
parent31e4e0669a8477f0584fcd73fe8176da76aa8316 (diff)
Quote program paths in ghc.mk
Diffstat (limited to 'ghc.mk')
-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/*)