Commit 460af126 authored by simonmar's avatar simonmar
Browse files

[project @ 2005-03-08 11:50:42 by simonmar]

Build & install runhaskell, but only install it if there isn't already
a $(bindir)/runhaskell.
parent b9dce85f
......@@ -31,4 +31,16 @@ SRC_MKDEPENDHS_OPTS += \
-optdep--exclude-module=Distribution.Version \
all :: runhaskell
runhaskell : $(HS_PROG)
$(CP) $< runhaskell
# Only install runhaskell if there isn't already one installed
ifneq "$(findstring install, $(MAKECMDGOALS))" ""
ifeq "$(wildcard $(bindir)/runhaskell)" ""
INSTALL_PROGS += runhaskell
include $(TOP)/mk/
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