Ticket #111 (closed defect: invalid)

Opened 6 years ago

Last modified 6 years ago

sdist doesn't install files listed in "install-includes"

Reported by: bos@… Owned by: ijones
Priority: normal Milestone:
Component: Cabal library Version: 1.1.6
Severity: normal Keywords:
Cc: Difficulty: normal
GHC Version: 6.6 Platform: Linux

Description

I found this while trying to build the rdtsc package.

darcs get  http://uebb.cs.tu-berlin.de/~magr/darcs/rdtsc

To reproduce, use sdist to create a tarball from the darcs repo, then unpack the tarball and try to build it. You'll find that the cbits/rdtsc.h file hasn't been included in the tarball.

Change History

Changed 6 years ago by ross@…

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

It wouldn't be correct to put all install-includes in the source tarball, as some of them could be generated by the configure stage, i.e. they're not source files. You have to list the ones you want in extra-source-files. It's clunky, but the rules are documented under setup sdist.

Note: See TracTickets for help on using tickets.