aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorsimonmar <unknown>2003-09-10 08:25:31 +0000
committersimonmar <unknown>2003-09-10 08:25:31 +0000
commitbbb87e7ab4c5157f2fc432d9b0763b318fadec5f (patch)
treefbe9c96617ad6ffacf5433c44fd7996c066bf166 /src/Makefile
parent9a70e46a8c30df1eaa3756066d4c2b458b9b65e5 (diff)
[haddock @ 2003-09-10 08:25:31 by simonmar]
Haddock's supplementary HTML bits now live in $(datadir), not $(libdir). Patch contributed by: Ian Lynagh <igloo@earth.li>.
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Makefile b/src/Makefile
index c7685e92..f3534d6d 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -22,15 +22,15 @@ HaddockVersion : ../mk/version.mk
ifeq "$(INSTALLING)" "1"
ifeq "$(BIN_DIST)" "1"
-HADDOCKLIB=$$\"\"libdir/haddock
+HADDOCKLIB=$$\"\"datadir/haddock
HADDOCKBIN=$$\"\"libexecdir/$(HS_PROG)
else
ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
# --mixed is only provided by newer versions of cygpath (1.2 doesn't have it, for instance.)
-#HADDOCKLIB=$(shell cygpath --mixed $(libdir))
-HADDOCKLIB=$(shell cygpath -w $(libdir) | sed -e 's%\\%/%g')
+#HADDOCKLIB=$(shell cygpath --mixed $(datadir))
+HADDOCKLIB=$(shell cygpath -w $(datadir) | sed -e 's%\\%/%g')
else
-HADDOCKLIB=$(libdir)
+HADDOCKLIB=$(datadir)
endif # mingw
HADDOCKBIN=$(libexecdir)/$(HS_PROG)
endif # BIN_DIST