
#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: | ----------------------------+----------------------------------------------- It should be possible to use the `Data-Files` directive to include whole directories (recursively) in source distributions. In many cases it's impossible or cumbersome to list all of the files one would like to install, and it seems to me that nobody should have to do that if what they really mean is, "install everything in that-data-dir/." In implementation terms, this doesn't strike me as too tricky; after the wildcard parsing that already happens, detect whether the files to be copied are in fact directories and copy them recursively as such. I'm more than willing to hack on this. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/722 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects