From: rrt Date: Tue, 23 Oct 2001 16:32:30 +0000 (+0000) Subject: [project @ 2001-10-23 16:32:30 by rrt] X-Git-Tag: Approximately_9120_patches~737 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=33aea7006c4cd971026c4ba8d4840b94b14b6ae4;p=ghc-hetmet.git [project @ 2001-10-23 16:32:30 by rrt] Install the right stuff in the right place on Windows. --- diff --git a/ghc/driver/ghc/Makefile b/ghc/driver/ghc/Makefile index e3ce27e..2696556 100644 --- a/ghc/driver/ghc/Makefile +++ b/ghc/driver/ghc/Makefile @@ -1,5 +1,5 @@ #----------------------------------------------------------------------------- -# $Id: Makefile,v 1.5 2001/06/27 15:26:56 chak Exp $ +# $Id: Makefile,v 1.6 2001/10/23 16:32:30 rrt Exp $ # TOP=../.. @@ -16,12 +16,14 @@ GHCBIN=$(libexecdir)/ghc-$(ProjectVersion) GHCLIB=$(libdir) endif # BIN_DIST +ifneq "$(TARGETPLATFORM)" "i386-unknown-mingw32" SCRIPT_PROG = ghc-$(ProjectVersion) +LINK = ghc +endif SCRIPT_OBJS = ghc.sh INTERP = $(SHELL) TOPDIROPT = -B$(GHCLIB) SCRIPT_SUBST_VARS = GHCBIN TOPDIROPT -LINK = ghc INSTALL_SCRIPTS += $(SCRIPT_PROG) # -----------------------------------------------------------------------------