From 2f757ce193579339b378f65ae342a5f97b214c39 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Sun, 31 May 2009 00:37:53 +0000 Subject: Quote program paths in ghc.mk --- ghc.mk | 8 ++++---- 1 file 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/*) -- cgit v1.2.3