Commit 4e4d8e70 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

MERGED: Put library docs in a $pkg, rather than $pkgid, directory; fixes trac #1864

Ian Lynagh <igloo@earth.li>**20071124171220
parent 07cb9d54
...@@ -95,9 +95,9 @@ ibindir = $$topdir ...@@ -95,9 +95,9 @@ ibindir = $$topdir
ilibdir = $$topdir ilibdir = $$topdir
ilibexecdir = $$topdir ilibexecdir = $$topdir
idatadir = $$topdir idatadir = $$topdir
idocdir = $$topdir/doc/libraries/$$pkgid idocdir = $$topdir/doc/libraries/$$pkg
iinterfacedir = $$topdir/doc/libraries/$$pkgid iinterfacedir = $$topdir/doc/libraries/$$pkg
ihtmldir = $$httptopdir/doc/libraries/$$pkgid ihtmldir = $$httptopdir/doc/libraries/$$pkg
html_installed_root = $(prefix)/doc/libraries html_installed_root = $(prefix)/doc/libraries
else else
# On non-Windows we can just give absolute paths all the time, and # On non-Windows we can just give absolute paths all the time, and
...@@ -107,9 +107,9 @@ ibindir = $(bindir) ...@@ -107,9 +107,9 @@ ibindir = $(bindir)
ilibdir = $(libdir) ilibdir = $(libdir)
ilibexecdir = $(libexecdir) ilibexecdir = $(libexecdir)
idatadir = $(datadir) idatadir = $(datadir)
idocdir = $(docdir)/libraries/$$pkgid idocdir = $(docdir)/libraries/$$pkg
iinterfacedir = $(htmldir)/libraries/$$pkgid iinterfacedir = $(htmldir)/libraries/$$pkg
ihtmldir = $(htmldir)/libraries/$$pkgid ihtmldir = $(htmldir)/libraries/$$pkg
html_installed_root = $(htmldir)/libraries html_installed_root = $(htmldir)/libraries
endif endif
...@@ -296,7 +296,7 @@ $(foreach SUBDIR,$(SUBDIRS),doc.library.$(SUBDIR)):\ ...@@ -296,7 +296,7 @@ $(foreach SUBDIR,$(SUBDIRS),doc.library.$(SUBDIR)):\
doc.library.%: stamp/configure.library.build$(CONFIGURE_STAMP_EXTRAS).% \ doc.library.%: stamp/configure.library.build$(CONFIGURE_STAMP_EXTRAS).% \
%/setup/Setup ifBuildable/ifBuildable %/setup/Setup ifBuildable/ifBuildable
if ifBuildable/ifBuildable $*; then \ if ifBuildable/ifBuildable $*; then \
cd $* && setup/Setup haddock --html-location='../$$pkgid' \ cd $* && setup/Setup haddock --html-location='../$$pkg' \
$(CABAL_HADDOCK_FLAGS); \ $(CABAL_HADDOCK_FLAGS); \
fi fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment