From af9857ea2c80dc893dbd2919718a751c68901c2c Mon Sep 17 00:00:00 2001 From: rrt Date: Wed, 4 Apr 2001 11:21:10 +0000 Subject: [PATCH] [project @ 2001-04-04 11:21:10 by rrt] Make FPTOOLS_TOP_ABS in a neater way. --- mk/config.mk.in | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/mk/config.mk.in b/mk/config.mk.in index dc252ee..3de4aab 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.in @@ -401,14 +401,13 @@ endif # FPTOOLS_TOP: the top of the fptools hierarchy, absolute path. +ifeq "$(findstring $(TARGETPLATFORM), i386-unknown-cygwin32 i386-unknown-mingw32)" "" FPTOOLS_TOP_ABS = @hardtop@ -FPTOOLS_TOP_ABS_UNIX = @hardtop@ -ifeq "$(TARGETPLATFORM)" "i386-unknown-cygwin32" -FPTOOLS_TOP_ABS = $(subst \,/,$(shell cygpath -w @hardtop@)) -endif -ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32" +else FPTOOLS_TOP_ABS = $(subst \,/,$(shell cygpath -w @hardtop@)) endif +# Keep the Unix-style path to use with Unix tools (e.g. in ghc-inplace script) +FPTOOLS_TOP_ABS_UNIX = @hardtop@ # # Installation directories, we don't use half of these, -- 1.7.10.4