
9 Aug
2009
9 Aug
'09
11:29 p.m.
Usually I include the example program in the package, but make its compilation conditional using a Cabal flag like buildExamples.
But then the binaries generated from the example program get installed. I think the poster wants to share the source code, not install a demo. I haven't figure out a way to specify test programs that don't get installed, but are only intended to be built and run within the context of a source distribution. John