This project is mirrored from https://github.com/haskell/Cabal.git.
Pull mirroring updated .
- Sep 13, 2005
-
-
Isaac Potoczny-Jones authored
-
Isaac Potoczny-Jones authored
BUGFIX: System.Cmd.system was used here but the executable path may have spaces. The right way is to use runInteractiveProcess but it isn't supported from HUGS. It is easier for a while to quote the path.
-
Isaac Potoczny-Jones authored
- Sep 08, 2005
-
-
Isaac Potoczny-Jones authored
That is, hooks to override basic behavior of configure, install, etc. Basic use case for this is in over-riding the "install" behavior for cgi-bin tools. In addition to the existing hooks, that gives us: confHook :: PackageDescription -> ConfigFlags -> IO LocalBuildInfo, buildHook :: PackageDescription -> LocalBuildInfo -> Int -- verbose -> [ PPSuffixHandler ] -> IO (), cleanHook :: PackageDescription -> LocalBuildInfo -> Int -> [PPSuffixHandler] -> IO (), copyHook :: PackageDescription -> LocalBuildInfo -> (Maybe FilePath,Int) -- ^install-prefix, verbose -> IO (), instHook :: PackageDescription -> LocalBuildInfo -> Int -- verbose -> Bool -- user install? -> IO (), sDistHook :: FilePath -- ^build prefix (temp dir) -> FilePath -- ^TargetPrefix -> Int -- ^verbose -> Bool -- ^snapshot -> [PPSuffixHandler] -- ^ extra preprocessors (includes suffixes) -> PackageDescription -> IO (), regHook :: PackageDescription -> LocalBuildInfo -> RegisterFlags -> IO (), unregHook :: PackageDescription -> LocalBuildInfo -> RegisterFlags -> IO (), haddockHook :: PackageDescription -> LocalBuildInfo -> Int -> [PPSuffixHandler] -> IO (), pfeHook :: PackageDescription -> LocalBuildInfo -> Int -> [PPSuffixHandler] -> IO () I don't really know if these types are good, but they are the types needed by the "default" hooks which do the guts of the Distribution.Simple work. I'm not happy with the handling of LocalBuildInfo which you can't avoid generating at this point, because all the post-hooks need it.
-
- Sep 06, 2005
-
-
Isaac Potoczny-Jones authored
-
- Sep 05, 2005
-
-
Isaac Potoczny-Jones authored
-
Isaac Potoczny-Jones authored
-
- Aug 24, 2005
-
-
Duncan Coutts authored
-
- Aug 25, 2005
-
-
Isaac Potoczny-Jones authored
-
Isaac Potoczny-Jones authored
Invoke the configure program (if present) directly instead of using sh, except under MinGW, where #! won't work. (Problem noted by Frederik Eaton)
-
Isaac Potoczny-Jones authored
-
- Aug 16, 2005
-
-
Isaac Potoczny-Jones authored
-
Isaac Potoczny-Jones authored
-
Isaac Potoczny-Jones authored
* rename other-files as extra-source-files * new field extra-tmp-files
-
- Aug 11, 2005
-
-
Isaac Potoczny-Jones authored
-
Isaac Potoczny-Jones authored
-
- Aug 09, 2005
-
-
Isaac Potoczny-Jones authored
buildGHC: reset search path before adding hs-source-dirs, so that these are the only directories GHC searches.
-
Isaac Potoczny-Jones authored
-
Isaac Potoczny-Jones authored
installHugs: quote the script name to protect spaces, and create .bat files for executables under Windows.
-
Isaac Potoczny-Jones authored
-
- Aug 07, 2005
-
-
Brian Smith authored
Always invoke the ld.exe that is in $ghc-bin\..\gcc-lib on Windows, because ld is probably not in the path on Windows.
-
- Jul 30, 2005
-
-
Isaac Potoczny-Jones authored
-
- Jul 27, 2005
-
-
Henning Günther authored
-
- Jul 26, 2005
-
-
Duncan Coutts authored
-
- Jul 30, 2005
-
-
Isaac Potoczny-Jones authored
-
Isaac Potoczny-Jones authored
tweak SHGetFolderPath preprocess: Hugs+MinGW: remove special case test *_HOST_OS (as well as *_TARGET_OS, which is there for old GHC's) take care of string literals while stripping comments rearrange so that we print "Compiling FFI stubs" at most once only run ffihugs on Main module if required add comment about older Windows versions Hugs only: avoid SHGetFolderPath for now convert input file paths to platform form (from Brian Smith) convert paths to native form at entry rename --builddir as --scratchdir to avoid clash with autoconf --build flag. doc: consolidate descriptions of preprocessors
-
Isaac Potoczny-Jones authored
-
- Jul 19, 2005
-
-
Isaac Potoczny-Jones authored
-
Isaac Potoczny-Jones authored
-
Isaac Potoczny-Jones authored
-
- Jul 18, 2005
-
-
Isaac Potoczny-Jones authored
-
Isaac Potoczny-Jones authored
-
Isaac Potoczny-Jones authored
tweak to Configure for windows. removed DefaultSetup since it breaks windows cabal 1.0 installations.
-
Isaac Potoczny-Jones authored
-
- Jul 16, 2005
-
-
Isaac Potoczny-Jones authored
-
Isaac Potoczny-Jones authored
-
Isaac Potoczny-Jones authored
-
Isaac Potoczny-Jones authored
-
- Jul 15, 2005
-
-
Isaac Potoczny-Jones authored
-