> 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
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to