From 2e0771e0795d4a3e14177bc67d6b26d2b1af9824 Mon Sep 17 00:00:00 2001 From: mthomas Date: Fri, 28 May 2004 20:17:55 +0000 Subject: [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. --- src/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/Makefile') 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) -- cgit v1.2.3