cvs commit: fptools/libraries/Cabal/Distribution PackageDescription.hs PreProcess.hs Simple.hs fptools/libraries/Cabal/Distribution/Simple Build.hs Configure.hs GHCPackageConfig.hs Install.hs LocalBuildInfo.hs Register.hs SrcDist.hs

Ross Paterson ross at soi.city.ac.uk
Fri Jan 14 12:51:49 EST 2005


On Thu, Jan 13, 2005 at 11:15:27PM -0800, Isaac Jones wrote:
> ijones      2005/01/13 23:15:27 PST
> 
>   Modified files:
>     libraries/Cabal/Distribution PackageDescription.hs 
>                                  PreProcess.hs Simple.hs 
>     libraries/Cabal/Distribution/Simple Build.hs Configure.hs 
>                                         GHCPackageConfig.hs 
>                                         Install.hs 
>                                         LocalBuildInfo.hs 
>                                         Register.hs SrcDist.hs 
>   Log:
>   Refactoring of PackageDescription and BuildInfo
>   Introduced new data type, Library which is symmetric to Executable.
>   Removed "executable only" and "library only" fields from
>   PackageDescription and moved them to their respective internal types.

Krasimir's suggestion of unifying executable-modules and hidden-modules
as a field in BuildInfo (other-modules?) will be useful you're using
BuildInfo for the output of the hook.  That allows the author to tailor
the implementation to the system.


More information about the Cvs-libraries mailing list