diff options
author | rrt <unknown> | 2001-10-12 14:29:11 +0000 |
---|---|---|
committer | rrt <unknown> | 2001-10-12 14:29:11 +0000 |
commit | fe79800292ca4cf51088c8134e1095abc7eaf08c (patch) | |
tree | cc679326cc508c54cf342f5cb7f98d861aae6235 /ghc/utils/ghc-pkg/Makefile | |
parent | 95cc5265a6466273470ab14d891d8967163c968c (diff) | |
download | haskell-fe79800292ca4cf51088c8134e1095abc7eaf08c.tar.gz |
[project @ 2001-10-12 14:28:08 by rrt]
Update "make install" settings for Windows.
Diffstat (limited to 'ghc/utils/ghc-pkg/Makefile')
-rw-r--r-- | ghc/utils/ghc-pkg/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/ghc/utils/ghc-pkg/Makefile b/ghc/utils/ghc-pkg/Makefile index 3a61af1534..b7840c2478 100644 --- a/ghc/utils/ghc-pkg/Makefile +++ b/ghc/utils/ghc-pkg/Makefile @@ -1,5 +1,5 @@ # ----------------------------------------------------------------------------- -# $Id: Makefile,v 1.11 2001/08/21 14:38:04 sewardj Exp $ +# $Id: Makefile,v 1.12 2001/10/12 14:28:46 rrt Exp $ TOP=../.. include $(TOP)/mk/boilerplate.mk @@ -14,11 +14,13 @@ HS_PROG = ghc-pkg.bin SRC_HC_OPTS += -cpp -DPKG_TOOL -DWANT_PRETTY -package lang \ -package util -package text -ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32" +ifneq "$(TARGETPLATFORM)" "i386-unknown-mingw32" +INSTALL_LIBEXECS += $(HS_PROG) +else +INSTALL_PROGS += $(HS_PROG) SRC_HC_OPTS += -package win32 endif -INSTALL_LIBEXECS = $(HS_PROG) # ----------------------------------------------------------------------------- # ghc-pkg script @@ -42,7 +44,9 @@ INPLACE_SCRIPT_PROG = ghc-pkg-inplace SCRIPT_OBJS = ghc-pkg.sh INTERP = $(SHELL) SCRIPT_SUBST_VARS = GHCPKGBIN PKGCONFOPT +ifneq "$(TARGETPLATFORM)" "i386-unknown-mingw32" INSTALL_SCRIPTS += $(SCRIPT_PROG) +endif PKGCONFOPT = -f $(PKGCONF) ifeq "$(INSTALLING)" "1" |