cvs commit: fptools/libraries/Cabal/Distribution PreProcess.hs fptools/libraries/Cabal/Distribution/Simple Build.hs Utils.hs

Isaac Jones ijones at haskell.org
Sat Jan 8 17:07:25 EST 2005


ijones      2005/01/08 14:07:25 PST

  Modified files:
    libraries/Cabal/Distribution PreProcess.hs 
    libraries/Cabal/Distribution/Simple Build.hs Utils.hs 
  Log:
  look in libraries source directory for executable modules
  
  When building executables, one typically wants to build them based on
  the library that's contained in the cabal package.  This was difficult
  if both the executables and the library used different
  hs-source-dir's.  This patch causes executables to look at the
  library's hs-source-dir for modules when preprocessing and building.
  
  This is instead of building and locally installing a package and using
  the -package flag to build the executable, since that's more
  complicated, and won't necessarily work if the library isn't designed
  to be installed in-place.
  
  Revision  Changes    Path
  1.9       +22 -13    fptools/libraries/Cabal/Distribution/PreProcess.hs
  1.16      +20 -12    fptools/libraries/Cabal/Distribution/Simple/Build.hs
  1.10      +8 -5      fptools/libraries/Cabal/Distribution/Simple/Utils.hs


More information about the Cvs-libraries mailing list