aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authormthomas <unknown>2004-05-28 20:17:55 +0000
committermthomas <unknown>2004-05-28 20:17:55 +0000
commit2e0771e0795d4a3e14177bc67d6b26d2b1af9824 (patch)
tree3d23218105a8c2000517c7b84ab560fa76e0f2c8 /src/Makefile
parent4d29cdfc55ceb564e01f0e00f1bf8a8d8c5d38e6 (diff)
[haddock @ 2004-05-28 20:17:55 by mthomas]
Windows: search for templates in executable directory. Unix: Haddock tries cwd first rather than error if no -l arg.
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index f6a7c51d..03192ee4 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -27,6 +27,10 @@ endif
HS_PROG = haddock$(HS_PROG_EXT)
+ifeq "$(HOSTPLATFORM)" "i386-unknown-mingw32"
+Main_HC_OPTS += -Dmingw32_HOST_OS=1
+endif
+
HsParser_HC_OPTS += -Onot
HaddockParse_HC_OPTS += -Onot
HaddockVersion_HC_OPTS = -DHADDOCK_VERSION=$(ProjectVersion)