X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=utils%2Frunghc%2Fghc.mk;h=b43634eaab2951e3240019c10ae8ace334604168;hb=cadba81047f6188fad2fe07004c3cb36316c36d1;hp=7d6769d1a92af119fd5172e546a9e98706acca8d;hpb=0ef6ba7b28187a4bf5309f9702eeaf53a281204b;p=ghc-hetmet.git diff --git a/utils/runghc/ghc.mk b/utils/runghc/ghc.mk index 7d6769d..b43634e 100644 --- a/utils/runghc/ghc.mk +++ b/utils/runghc/ghc.mk @@ -17,16 +17,14 @@ utils/runghc_dist_SHELL_WRAPPER = YES utils/runghc_dist_INSTALL_SHELL_WRAPPER = YES ifneq "$(BINDIST)" "YES" - # hack: the build system has trouble with Main modules not called Main.hs utils/runghc/dist/build/Main.hs : utils/runghc/runghc.hs $(MKDIRHIER) "$(MKDIRHIER)" $(dir $@) "$(CP)" $< $@ +endif $(eval $(call build-prog,utils/runghc,dist,1)) -endif - install: install_runhaskell .PHONY: install_runhaskell