Ticket #2343 (closed bug: invalid)
Docs are installed to a peculiar location
| Reported by: | bos | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.8.3 |
| Component: | Compiler | Version: | 6.8.2 |
| Keywords: | Cc: | ||
| Operating System: | Linux | Architecture: | Unknown/Multiple |
| Type of failure: | Difficulty: | Unknown | |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
Working with the ghc-6.8.2.20080603 snapshot, I run into a problem whereby the generated haddocks are installed to the root of the filesystem, instead of the destination I specify.
This is a change in behaviour from 6.8.2.
(By the way, I'm using haddock 0.8, if that has any significance.)
Here is how I am setting up the build:
./configure --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man
After the main build succeeds, I install as follows:
make DESTDIR=/var/tmp/ghc-6.8.2.20080603-1.fc9-root-bos libdir=/usr/lib64/ghc-6.8.2.20080603 install make DESTDIR=/var/tmp/ghc-6.8.2.20080603-1.fc9-root-bos XMLDocWays=html HADDOCK_DOCS=YES install-docs
The main install target seems to have no problems, but install-docs installs everything to $DESTDIR, not to the docdir subdirectory of $DESTDIR that used to work with 6.8.2.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

