summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utils/runghc/Main.hs (renamed from utils/runghc/runghc.hs)0
-rw-r--r--utils/runghc/ghc.mk6
-rw-r--r--utils/runghc/runghc.cabal.in2
3 files changed, 1 insertions, 7 deletions
diff --git a/utils/runghc/runghc.hs b/utils/runghc/Main.hs
index 42ddb83f25..42ddb83f25 100644
--- a/utils/runghc/runghc.hs
+++ b/utils/runghc/Main.hs
diff --git a/utils/runghc/ghc.mk b/utils/runghc/ghc.mk
index 6979d5022b..e981abf9a5 100644
--- a/utils/runghc/ghc.mk
+++ b/utils/runghc/ghc.mk
@@ -27,12 +27,6 @@ define utils/runghc_dist-install_INSTALL_SHELL_WRAPPER_EXTRA
echo 'ghcprog="$(ghc_stage$(INSTALL_GHC_STAGE)_INSTALL_SHELL_WRAPPER_NAME)"' >> "$(WRAPPER)"
endef
-ifneq "$(BINDIST)" "YES"
-# hack: the build system has trouble with Main modules not called Main.hs
-utils/runghc/dist-install/build/Main.hs : utils/runghc/runghc.hs | $$(dir $$@)/.
- "$(CP)" $< $@
-endif
-
$(eval $(call build-prog,utils/runghc,dist-install,1))
install: install_runhaskell
diff --git a/utils/runghc/runghc.cabal.in b/utils/runghc/runghc.cabal.in
index fde6b9a4d6..6da179ad24 100644
--- a/utils/runghc/runghc.cabal.in
+++ b/utils/runghc/runghc.cabal.in
@@ -17,7 +17,7 @@ Flag base3
Executable runghc
Default-Language: Haskell2010
- Main-Is: runghc.hs
+ Main-Is: Main.hs
if flag(base3)
Build-Depends: base >= 3 && < 5,