Commit 1f1c7c61 authored by thomie's avatar thomie

Build system: rename runghc.hs to Main.hs

The build system has trouble with Main modules not called Main.hs. This
change allows a hack in utils/runghc/ghc.mk to be removed.
parent 0a163741
......@@ -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
......
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment