Ticket #178 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

register ignores configure's --interfacedir

Reported by: awick@… Owned by:
Priority: normal Milestone:
Component: Cabal library Version: 1.2.2.0
Severity: normal Keywords:
Cc: Difficulty: normal
GHC Version: 6.4.2 Platform: Linux

Description

Create a little fake library directory (I made .../Setup.lhs, .../testpkg.cabal, and .../TestPkg/Foo.hs).

ghc --make Setup.lhs -o setup -package Cabal
./setup configure --interfacedir=/
./setup register
cat dist/installed-pkg-config 

This should result in a line saying

haddock-interfaces: /TestPkg.haddock

but actually generates

haddock-interfaces: /usr/local/share/doc/TestPkg-1.0.0/html/TestPkg.haddock

Change History

Changed 6 years ago by guest

This is under GHC 6.8.1; I didn't notice that option.

Changed 6 years ago by guest

  • reporter changed from guest to awick@…

Changed 6 years ago by duncan

  • status changed from new to closed
  • resolution set to fixed

Fix in Cabal HEAD. We can push this one to the 1.2 branch too.

Note: See TracTickets for help on using tickets.