[Hackage] #178: register ignores configure's --interfacedir

Hackage trac at galois.com
Wed Nov 14 13:44:05 EST 2007


#178: register ignores configure's --interfacedir
---------------------+------------------------------------------------------
  Reporter:  guest   |        Owner:         
      Type:  defect  |       Status:  new    
  Priority:  normal  |    Milestone:         
 Component:  Cabal   |      Version:  1.2.2.0
  Severity:  normal  |     Keywords:         
Difficulty:  normal  |   Ghcversion:  6.4.2  
  Platform:  Linux   |  
---------------------+------------------------------------------------------
 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
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/178>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects


More information about the cabal-devel mailing list