aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsimonmar <unknown>2005-08-04 15:59:30 +0000
committersimonmar <unknown>2005-08-04 15:59:30 +0000
commit7621fde4bcb248e2d5b652f2914fc81057dd21a4 (patch)
tree68b974330b3c2fa769b28cd5896df2375e43aca6 /src
parent170ef87e6b7b0b4a89e9d2f0e7ec541f9224dace (diff)
[haddock @ 2005-08-04 15:59:30 by simonmar]
replace mingw tests with $(Windows)
Diffstat (limited to 'src')
-rw-r--r--src/Makefile6
1 files changed, 3 insertions, 3 deletions
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