diff options
author | sven.panne@aedion.de <unknown> | 2007-09-23 12:06:36 +0000 |
---|---|---|
committer | sven.panne@aedion.de <unknown> | 2007-09-23 12:06:36 +0000 |
commit | 02924d52507ab58a05b3cb412a505e4cec86c413 (patch) | |
tree | 68db138ec485428ba5b02a2948b0046ac06969e9 /libraries | |
parent | 091868cfcf246aca64d80c779fa48c903c24831d (diff) | |
download | haskell-02924d52507ab58a05b3cb412a505e4cec86c413.tar.gz |
Fix bug #1725 (Haddock links between packages)
Resolving this bug is a bit tricky, it boils down to the question: Should the
Haddock links between packages include the package version or not?
Pro: We can differentiate between various versions of the same package,
installed all at once. (How often does this really happen in practice?)
Cons: When package A refers to a package B, and B is later upgraded, links
in A's documentation will break. Furthermore, if an *additional* version of
B is installed, which version should A refer to?
Because IMHO it is not clear what to do when version numbers are included,
let's leave them out. If somebody has a better idea, feel free to submit a
better patch.
MERGE TO STABLE
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libraries/Makefile b/libraries/Makefile index 0fbd4739ff..d9cc69a13e 100644 --- a/libraries/Makefile +++ b/libraries/Makefile @@ -102,8 +102,8 @@ ibindir = $$topdir ilibdir = $$topdir ilibexecdir = $$topdir idatadir = $$topdir -idocdir = $$topdir/doc/libraries/$$pkgid -ihtmldir = $$topdir/doc/libraries/$$pkgid +idocdir = $$topdir/doc/libraries/$$pkg +ihtmldir = $$topdir/doc/libraries/$$pkg html_installed_root = $(prefix)/doc/libraries else # On non-Windows we can just give absolute paths all the time, and @@ -113,8 +113,8 @@ ibindir = $(bindir) ilibdir = $(libdir) ilibexecdir = $(libexecdir) idatadir = $(datadir) -idocdir = $(docdir)/libraries/$$pkgid -ihtmldir = $(htmldir)/libraries/$$pkgid +idocdir = $(docdir)/libraries/$$pkg +ihtmldir = $(htmldir)/libraries/$$pkg html_installed_root = $(ihtmldir) endif @@ -326,9 +326,9 @@ ifeq "$(HADDOCK_DOCS)" "YES" $(INSTALL_DATA) index.html doc-index*.html $(DESTDIR)$(html_installed_root) $(INSTALL_SCRIPT) gen_contents_index $(DESTDIR)$(html_installed_root) # Hacks: - $(INSTALL_DATA) $(DESTDIR)$(html_installed_root)/base-*/*.css $(DESTDIR)$(html_installed_root) - $(INSTALL_DATA) $(DESTDIR)$(html_installed_root)/base-*/*.js $(DESTDIR)$(html_installed_root) - $(INSTALL_DATA) $(DESTDIR)$(html_installed_root)/base-*/*.gif $(DESTDIR)$(html_installed_root) + $(INSTALL_DATA) $(DESTDIR)$(html_installed_root)/base*/*.css $(DESTDIR)$(html_installed_root) + $(INSTALL_DATA) $(DESTDIR)$(html_installed_root)/base*/*.js $(DESTDIR)$(html_installed_root) + $(INSTALL_DATA) $(DESTDIR)$(html_installed_root)/base*/*.gif $(DESTDIR)$(html_installed_root) endif # Cabal doesn't let us ask to install docs only, so do nothing here |