[GHC] #2343: Docs are installed to a peculiar location

GHC trac at galois.com
Wed Jun 4 15:50:30 EDT 2008


#2343: Docs are installed to a peculiar location
------------------------+---------------------------------------------------
    Reporter:  bos      |       Owner:          
        Type:  bug      |      Status:  new     
    Priority:  normal   |   Component:  Compiler
     Version:  6.8.2    |    Severity:  major   
    Keywords:           |    Testcase:          
Architecture:  Unknown  |          Os:  Linux   
------------------------+---------------------------------------------------
 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.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2343>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list