call c2hs using the more detailed info we use --output-dir=dist/base and --output=<file relative to the search dir it was found in>.hs This actually depends on a patch in c2hs to make it treat --output-dir in the way we want. That patch will be forthcomming soonish. But the point is: c2hs --output-dir=dist/base --output=Foo/Bar.hs src/Foo/Bar.chs will generate dist/base/Foo/Bar.hs and also dist/base/Foo/Bar.h but inside the .hs file it'll reference Foo/Bar.h so when we compile the .hs file we have to -Idist/base Clear as mud?
call c2hs using the more detailed info
we use --output-dir=dist/base
and --output=<file relative to the search dir it was found in>.hs
This actually depends on a patch in c2hs to make it treat --output-dir
in the way we want. That patch will be forthcomming soonish.
But the point is:
c2hs --output-dir=dist/base --output=Foo/Bar.hs src/Foo/Bar.chs
will generate dist/base/Foo/Bar.hs and also dist/base/Foo/Bar.h
but inside the .hs file it'll reference Foo/Bar.h so when we compile the
.hs file we have to -Idist/base
Clear as mud?

plow-technologies/cabal,mmakowski/cabal,mydaum/cabal,ian-ross/cabal,edsko/cabal,themoritz/cabal,sopvop/cabal,fugyk/cabal,lukexi/cabal,typelead/epm,randen/cabal,kolmodin/cabal,anton-dessiatov/cabal,corngood/cabal,alphaHeavy/cabal,valderman/cabal,gridaphobe/cabal,Peaker/cabal,sopvop/cabal,christiaanb/cabal,seereason/cabal,garetxe/cabal,trskop/cabal,kosmikus/cabal,alphaHeavy/cabal,martinvlk/cabal,ghc-android/cabal,beni55/cabal,valderman/cabal,plumlife/cabal,x-y-z/cabal,mightybyte/cabal,seereason/cabal,enolan/cabal,thomie/cabal,bennofs/cabal,thoughtpolice/cabal,themoritz/cabal,themoritz/cabal,thomie/cabal,Heather/cabal,fpco/cabal,bennofs/cabal,martinvlk/cabal,rimmington/cabal,plow-technologies/cabal,x-y-z/cabal,garetxe/cabal,gbaz/cabal,plumlife/cabal,Helkafen/cabal,ghc-android/cabal,mightybyte/cabal,headprogrammingczar/cabal,rimmington/cabal,Heather/cabal,kosmikus/cabal,christiaanb/cabal,gridaphobe/cabal,sopvop/cabal,triplepointfive/cabal,gbaz/cabal,eric-stanley/cabal,ian-ross/cabal,randen/cabal,thoughtpolice/cabal,typelead/epm,Peaker/cabal,trskop/cabal,lukexi/cabal,beni55/cabal,Helkafen/cabal,enolan/cabal,kolmodin/cabal,fpco/cabal,anton-dessiatov/cabal,fugyk/cabal,mmakowski/cabal,mydaum/cabal,eric-stanley/cabal,corngood/cabal,edsko/cabal,headprogrammingczar/cabal,triplepointfive/cabal