[Hackage] #722: Data-Files cabal directive should support directories

Hackage cvs-ghc at haskell.org
Mon Aug 9 19:11:59 EDT 2010

#722: Data-Files cabal directive should support directories
  Reporter:  cygnus         |        Owner:                                  
      Type:  enhancement    |       Status:  new                             
  Priority:  normal         |    Milestone:                                  
 Component:  Cabal library  |      Version:                                  
  Severity:  normal         |     Keywords:  recursive directories data sdist
Difficulty:  unknown        |   Ghcversion:                                  
  Platform:                 |  

Comment(by duncan):

 I think we should discuss this with users a bit first. The point of the
 existing rather limited support for globbing is to avoid accidentally
 picking up more files than was intended (e.g. hidden or generated files).
 By limiting it to files with a common extension this risk is greatly
 reduced. Perhaps we could make it explicit by only doing recursive copy
 for directories that are listed in the data-files field with a trailing
 directory slash, e.g. `data-files: graphics/`

Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/722#comment:1>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects

More information about the cabal-devel mailing list