Docs are installed to a peculiar location
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.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 6.8.2 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture | Unknown |