cvs commit: fptools/libraries/Cabal/Distribution
Setup.hs Simple.hs fptools/libraries/Cabal/Distribution/Simple
Build.hs Configure.hs GHCPackageConfig.hs Install.hs
LocalBuildInfo.hs Register.hs fptools/libraries/Cabal/doc ...
simonmar at microsoft.com
Mon Oct 10 11:36:16 EDT 2005
simonmar 2005/10/10 08:36:16 PDT
libraries/Cabal/Distribution InstalledPackageInfo.hs Make.hs
libraries/Cabal/Distribution/Simple Build.hs Configure.hs
Various changes committed in one bunch:
- bindir/libdir/datadir/libexecdir support as discussed on
librarie at haskell.org. This should be considered fairly
experimental. Full documentation in the manual.
- A module Paths_<pkgname> is autogenerated, you should be able
to just import this. (I haven't made this work with Hugs yet, though).
I suspect I might need to make sure it's available to 'setup haddock'
too. Also, I haven't tested this on Windows yet (TODO).
- All installation-paths-related functions are now provided by
- some cleaning up of Distribution.Simple.Build as regards GHC support.
- "setup copy" now takes a --destdir argument instead of --copy-prefix
(the latter is still accepted for compatibility).
Note for autoconf/make users: this means that your Makefile now
needs to implement a "copy" target, see the manual for details.
- New types: Distribution.Setup.CopyFlags (was previously just a
pair), and CopyDest (was previously Maybe FilePath).
- Hooks: the post hooks all take a PackageDescription argument now.
There seemed no reason not to do this, and sometimes it's useful.
Revision Changes Path
1.19 +4 -5 fptools/libraries/Cabal/Distribution/InstalledPackageInfo.hs
1.21 +45 -8 fptools/libraries/Cabal/Distribution/Make.hs
1.43 +68 -13 fptools/libraries/Cabal/Distribution/Setup.hs
1.81 +29 -29 fptools/libraries/Cabal/Distribution/Simple.hs
1.66 +172 -32 fptools/libraries/Cabal/Distribution/Simple/Build.hs
1.49 +66 -47 fptools/libraries/Cabal/Distribution/Simple/Configure.hs
1.10 +4 -4 fptools/libraries/Cabal/Distribution/Simple/GHCPackageConfig.hs
1.45 +9 -36 fptools/libraries/Cabal/Distribution/Simple/Install.hs
1.14 +201 -4 fptools/libraries/Cabal/Distribution/Simple/LocalBuildInfo.hs
1.36 +4 -5 fptools/libraries/Cabal/Distribution/Simple/Register.hs
1.37 +267 -19 fptools/libraries/Cabal/doc/Cabal.xml
More information about the Cvs-libraries