Follow GHC build system changes
authorIan Lynagh <igloo@earth.li>
Fri, 7 Jan 2011 02:32:58 +0000 (02:32 +0000)
committerIan Lynagh <igloo@earth.li>
Fri, 7 Jan 2011 02:32:58 +0000 (02:32 +0000)
ghc.mk

diff --git a/ghc.mk b/ghc.mk
index 5c6b2f7..7711c35 100644 (file)
--- a/ghc.mk
+++ b/ghc.mk
@@ -54,7 +54,7 @@ install: install_utils/hsc2hs_dist_install
 
 .PHONY: install_utils/hsc2hs_dist_install
 install_utils/hsc2hs_dist_install: utils/hsc2hs/template-hsc.h
-       $(INSTALL_HEADER) $(INSTALL_OPTS) $< "$(DESTDIR)$(topdir)"
+       $(call INSTALL_HEADER,$(INSTALL_OPTS),$<,"$(DESTDIR)$(topdir)")
 
 BINDIST_EXTRAS += utils/hsc2hs/template-hsc.h