id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	os	architecture	failure	difficulty	testcase	blockedby	blocking	related
2343	Docs are installed to a peculiar location	bos		"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."	bug	closed	normal	6.8.3	Compiler	6.8.2	invalid			Linux	Unknown/Multiple		Unknown				
