aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ghc.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/ghc.mk b/ghc.mk
index a3bb834f..af2d8de3 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -59,9 +59,9 @@ endif
.PHONY: install_utils/haddock_data
install_utils/haddock_data:
$(foreach i,$(sort $(dir $(utils/haddock_dist_DATA_FILES))), \
- $(call make-command,$(call INSTALL_DIR,"$(DESTDIR)$(ghclibdir)/$i")))
+ $(call make-command,$(INSTALL_DIR) "$(DESTDIR)$(ghclibdir)/$i"))
$(foreach i,$(utils/haddock_dist_DATA_FILES), \
- $(call make-command,$(call INSTALL_DATA,$(INSTALL_OPTS),utils/haddock/haddock-api/resources/$i,"$(DESTDIR)$(ghclibdir)/$(dir $i)")))
+ $(call make-command,$(INSTALL_DATA) $(INSTALL_OPTS) utils/haddock/haddock-api/resources/$i "$(DESTDIR)$(ghclibdir)/$(dir $i)"))
.PHONY: install_utils/haddock_link
install_utils/haddock_link: