Tue Aug 14 02:23:20 PDT 2007 Duncan Coutts <[EMAIL PROTECTED]>
* 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
_______________________________________________
Cvs-libraries mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-libraries