patch applied (ghc): Unbreak "dist" target for fresh trees

Simon Marlow simonmarhaskell at gmail.com
Mon Sep 24 08:27:56 EDT 2007


Sven Panne wrote:
> Sun Sep 23 02:43:58 PDT 2007  sven.panne at aedion.de
>   * Unbreak "dist" target for fresh trees
>   The previous hack to include Parser.hs in source distros broke the possibility
>   of doing a "make dist" in a fresh tree, i.e. one which has just been checked
>   out and configured, but *not* built. Of course you will need Happy for such a
>   source distro later, but at least the freedom to do this is important.
>   
>   The ultimate goal should be that something like "make dist" will work in a
>   freshly checked out tree, with no prerequisite steps (this is very common in
>   most projects). We should move towards that goal, not away from it...

Hmm, it's not obvious to me that that's the right thing.  The results of a 
'make dist' in a clean tree are not the same, from the user's point of 
view, as the results of 'make dist' from a built tree.

That means there would be different kinds of source distribution.  And 
having different kinds of source distribution would be a source of 
confusion.  The instructions required to build each kind of source dist 
differ (e.g. 'sh boot' is required for one and not the other).  I'd prefer 
it if 'make dist' produced consistent results, and therefore I think it's a 
good thing that it fails rather than producing something that isn't a 
source dist.

Cheers,
	Simon



More information about the Cvs-ghc mailing list