From 7621fde4bcb248e2d5b652f2914fc81057dd21a4 Mon Sep 17 00:00:00 2001 From: simonmar Date: Thu, 4 Aug 2005 15:59:30 +0000 Subject: [haddock @ 2005-08-04 15:59:30 by simonmar] replace mingw tests with $(Windows) --- src/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index 160ec763..d97a1276 100644 --- a/src/Makefile +++ b/src/Makefile @@ -28,7 +28,7 @@ endif HS_PROG = haddock$(HS_PROG_EXT) # Why HOST platform, not TARGET platform??? Confusing... -ifeq "$(HOSTPLATFORM)" "i386-unknown-mingw32" +ifeq "$(Windows)" "YES" Main_HC_OPTS += -Dmingw32_HOST_OS=1 endif @@ -84,7 +84,7 @@ INPLACE_SCRIPT_PROG = haddock-inplace ifeq "$(INSTALLING)" "1" TOP_PWD := $(prefix) SCRIPT_PROG = $(INSTALLED_SCRIPT_PROG) -ifneq "$(TARGETPLATFORM)" "i386-unknown-mingw32" +ifeq "$(Windows)" "NO" LINK = haddock endif else @@ -99,7 +99,7 @@ INTERP=$(SHELL) SCRIPT_SUBST_VARS = HADDOCKLIB HADDOCKBIN # The script isn't installed on MinGW; we run the binary directly -ifneq "$(TARGETPLATFORM)" "i386-unknown-mingw32" +ifeq "$(Windows)" "NO" INSTALL_SCRIPTS += $(SCRIPT_PROG) endif -- cgit v1.2.3