summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/hsc2hs/Makefile2
-rw-r--r--utils/runghc/Makefile14
2 files changed, 1 insertions, 15 deletions
diff --git a/utils/hsc2hs/Makefile b/utils/hsc2hs/Makefile
index 7c34bbaf14..88f3edbe85 100644
--- a/utils/hsc2hs/Makefile
+++ b/utils/hsc2hs/Makefile
@@ -33,7 +33,7 @@ endif
SRC_HC_OPTS += -Wall
ifneq "$(HOSTPLATFORM)" "i386-unknown-mingw32"
-INSTALLED_SCRIPT_PROG = hsc2hs
+INSTALLED_SCRIPT_PROG = hsc2hs-ghc
endif
INPLACE_SCRIPT_PROG = hsc2hs-inplace
diff --git a/utils/runghc/Makefile b/utils/runghc/Makefile
index c1a94c799a..f210b004f3 100644
--- a/utils/runghc/Makefile
+++ b/utils/runghc/Makefile
@@ -15,18 +15,4 @@ include $(GHC_COMPAT_DIR)/compat.mk
# we must also build with $(GhcHcOpts) here:
SRC_HC_OPTS += $(GhcHcOpts) $(GhcStage1HcOpts)
-all :: runhaskell
-
-runhaskell : $(HS_PROG)
- $(CP) $< runhaskell$(exeext)
-
-CLEAN_FILES += runhaskell
-
-# Only install runhaskell if there isn't already one installed
-ifneq "$(findstring install, $(MAKECMDGOALS))" ""
-ifeq "$(wildcard $(bindir)/runhaskell)" ""
-INSTALL_PROGS += runhaskell$(exeext)
-endif
-endif
-
include $(TOP)/mk/target.mk