Include hsc2hs in GHC bindists
authorIan Lynagh <igloo@earth.li>
Sat, 13 Jun 2009 16:17:37 +0000 (16:17 +0000)
committerIan Lynagh <igloo@earth.li>
Sat, 13 Jun 2009 16:17:37 +0000 (16:17 +0000)
ghc.mk

diff --git a/ghc.mk b/ghc.mk
index 2aeb3c9..16536f8 100644 (file)
--- a/ghc.mk
+++ b/ghc.mk
@@ -11,8 +11,6 @@ utils/hsc2hs_dist-install_SHELL_WRAPPER = YES
 utils/hsc2hs_dist-install_INSTALL_SHELL_WRAPPER = YES
 utils/hsc2hs_dist-install_INSTALL_INPLACE = NO
 
-ifneq "$(BINDIST)" "YES"
-
 $(eval $(call build-prog,utils/hsc2hs,dist,0))
 $(eval $(call build-prog,utils/hsc2hs,dist-install,1))
 
@@ -25,6 +23,8 @@ utils/hsc2hs_dist-install_HC_OPTS += -DNEW_GHC_LAYOUT
 
 utils/hsc2hs_template=$(INPLACE_LIB)/template-hsc.h
 
+ifneq "$(BINDIST)" "YES"
+
 $(HSC2HS_INPLACE) : $(utils/hsc2hs_template)
 
 # This is a bit of a hack, but it will do