On Mon, Oct 20, 2008 at 3:04 PM, Mauricio <[EMAIL PROTECTED]> wrote: > I would like to include a few source files > as 'executable' sections in a .cabal package > description. However, although I do want to > use main=mainDefault features, I do not want > those packages to be installed when I run > 'Setup.hs install'. > > Is it possible to do that? I believe there's > no flag that indicates install step, since (I > guess) flags are checked only at configure > time.
I know this isn't what you asked, since you did explicitly mention Cabal, but Franchise (http://groups.google.com/group/franchise-haskell) has a function "privateExecutable" which is used for that very purpose. I don't know anything about .cabal packages, but maybe this will suit your needs? steve _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe