[commit: ghc] master: Move includes/DerivedConstants.h and includes/GHCConstants.h into dist dirs (e872312)

Simon Marlow marlowsd at gmail.com
Mon Dec 5 10:29:24 CET 2011


On 02/12/2011 23:21, Ian Lynagh wrote:
> Repository : ssh://darcs.haskell.org//srv/darcs/ghc
>
> On branch  : master
>
> http://hackage.haskell.org/trac/ghc/changeset/e8723129a6c48438e81f95a73271014ffa96eaa3
>
>> ---------------------------------------------------------------
>
> commit e8723129a6c48438e81f95a73271014ffa96eaa3
> Author: Ian Lynagh<igloo at earth.li>
> Date:   Fri Dec 2 21:35:18 2011 +0000
>
>      Move includes/DerivedConstants.h and includes/GHCConstants.h into dist dirs
>
>      When they existed, they were getting included in the includes_H_FILES
>      variable (as it uses wildcard to find all header files). But the
>      .depends files for the programs that generate the headers depend on
>      $(includes_H_FILES), so the .depends files looked out-of-date once the
>      headers had been created. This caused unnecessary make reinvocations.
>
>      So now we put them in dist* directories, where they ought to be anyway.

Good catch, I had meant to clean that up but never got around to it.

Cheers,
	Simon



More information about the Cvs-ghc mailing list