Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/haskell/Cabal.git. Pull mirroring updated .
  1. Sep 13, 2005
  2. Sep 08, 2005
    • Isaac Potoczny-Jones's avatar
      First stab at command-hooks · 2b2c6302
      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.
      2b2c6302
  3. Sep 06, 2005
  4. Sep 05, 2005
  5. Aug 24, 2005
  6. Aug 25, 2005
  7. Aug 16, 2005
  8. Aug 11, 2005
  9. Aug 09, 2005
  10. Aug 07, 2005
  11. Jul 30, 2005
  12. Jul 27, 2005
  13. Jul 26, 2005
  14. Jul 30, 2005
    • Isaac Potoczny-Jones's avatar
      tweak test suite · 7d45c2f4
      Isaac Potoczny-Jones authored
      7d45c2f4
    • Isaac Potoczny-Jones's avatar
      lots of cvs changes from Ross · 580183e0
      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
      580183e0
    • Isaac Potoczny-Jones's avatar
      wibbles · b2166cc3
      Isaac Potoczny-Jones authored
      b2166cc3
  15. Jul 19, 2005
  16. Jul 18, 2005
  17. Jul 16, 2005
  18. Jul 15, 2005
Loading