Install perl on Windows
authorIan Lynagh <igloo@earth.li>
Fri, 20 Nov 2009 22:38:30 +0000 (22:38 +0000)
committerIan Lynagh <igloo@earth.li>
Fri, 20 Nov 2009 22:38:30 +0000 (22:38 +0000)
ghc.mk
mk/tree.mk

diff --git a/ghc.mk b/ghc.mk
index 3dece18..706136b 100644 (file)
--- a/ghc.mk
+++ b/ghc.mk
@@ -717,6 +717,11 @@ install : install_mingw
 install_mingw : $(INPLACE_MINGW)
        "$(CP)" -Rp $(INPLACE_MINGW) $(prefix)
 
+install : install_perl
+.PHONY: install_perl
+install_perl : $(INPLACE_PERL)
+       "$(CP)" -Rp $(INPLACE_PERL) $(prefix)
+
 endif # Windows
 
 ifneq "$(BINDIST)" "YES"
index cd3988d..9fb305f 100644 (file)
@@ -46,6 +46,7 @@ INPLACE_BIN             = $(INPLACE)/bin
 INPLACE_LIB             = $(INPLACE)/lib
 INPLACE_TOPDIR          = $(INPLACE)/lib
 INPLACE_MINGW           = $(INPLACE)/mingw
+INPLACE_PERL            = $(INPLACE)/perl
 
 # These are here, rather than in config.mk, as they need to exist in an
 # unconfigured tree so that the various clean targets can be used