diff options
author | simonmar <unknown> | 2005-08-04 15:59:30 +0000 |
---|---|---|
committer | simonmar <unknown> | 2005-08-04 15:59:30 +0000 |
commit | 7621fde4bcb248e2d5b652f2914fc81057dd21a4 (patch) | |
tree | 68b974330b3c2fa769b28cd5896df2375e43aca6 | |
parent | 170ef87e6b7b0b4a89e9d2f0e7ec541f9224dace (diff) |
[haddock @ 2005-08-04 15:59:30 by simonmar]
replace mingw tests with $(Windows)
-rw-r--r-- | src/Makefile | 6 |
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 |