On Tue, 2006-11-07 at 18:12 +0000, Neil Mitchell wrote: > Hi > > With Hoogle, I have as one of the lines: > > Executable: index.cgi > Main-Is: Web.hs > Other-Modules: HTML > Hs-Source-Dirs: src, src/Web > > This generates a file called index.cgi > > However, I don't think that install realises this... > > D:\sources\hoogle>runhaskell Setup install > Installing: C:\Program Files\Haskell\Hoogle-3.0\ghc-6.4.2 & C:\Program > Files\Has > kell\bin Hoogle-3.0... > *** Exception: dist\build\index.cgi\index.cgi.exe: copyFile: does not exist > (No > such file or directory)
Hmm, that's tricky. How do you propose that we solve it? Currently we specify a name without the extension. On windows of course most executables have a .exe extension so we automatically append that. We don't want people to have to say: executable: foo.exe since then it's not portable to non-windows. So how can we infer that no extra .exe extension is required? Is it reasonable to guess that if it already has one '.' in the name that we shouldn't add a .exe extension? Duncan _______________________________________________ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel