[Hackage] #374: Hs-Source-Dirs in nested If must be respected by 'sdist'

Hackage trac at galois.com
Fri Oct 17 10:09:11 EDT 2008


#374: Hs-Source-Dirs in nested If must be respected by 'sdist'
----------------------------+-----------------------------------------------
  Reporter:  guest          |        Owner:         
      Type:  defect         |       Status:  new    
  Priority:  normal         |    Milestone:         
 Component:  Cabal library  |      Version:  1.4.0.1
  Severity:  normal         |     Keywords:         
Difficulty:  normal         |   Ghcversion:  6.8.2  
  Platform:                 |  
----------------------------+-----------------------------------------------
 I have the following part in a Cabal file:

 {{{
   If flag(executePipe)
     Hs-Source-Dirs: execute/pipe
   Else
     If flag(executeShell)
       Hs-Source-Dirs: execute/shell
     Else
       Hs-Source-Dirs: execute/tmp
 }}}

 However, when I run './Setup.lhs sdist' I get only the files from
 execute/pipe into the archive, but not execute/shell and execute/tmp.

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


More information about the cabal-devel mailing list