patch applied (cabal): Refactor the code for managing installation directories

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Tue Aug 14 10:59:05 EDT 2007


Tue Aug 14 02:23:20 PDT 2007  Duncan Coutts <duncan at haskell.org>
  * Refactor the code for managing installation directories
  New types for the collection of installation directory templates and a
  separate type for the collection of actual real install FilePaths.
  The templates are represented with a PathTemplate adt.
  Dir templates can now be relative to each other, eg $htmldir to $docdir
  Default install dir templates are now specified compactly in one place.
  Adding new dirs should be considerably simpler than previously.
  This patch should not actualy change where anything is installed.

    M ./Cabal.cabal +1
    M ./Distribution/Simple/Build.hs -22 +30
    M ./Distribution/Simple/Configure.hs -44 +38
    M ./Distribution/Simple/GHCPackageConfig.hs -9 +12
    M ./Distribution/Simple/Haddock.hs -5 +17
    M ./Distribution/Simple/Install.hs -12 +17
    A ./Distribution/Simple/InstallDirs.hs
    M ./Distribution/Simple/LocalBuildInfo.hs -241 +45
    M ./Distribution/Simple/Register.hs -25 +28


More information about the Cvs-libraries mailing list