|
![](/i/fill.gif) |
>> Short of a tool to actually analyse a source tree and figure out all
>> the dependencies, it's difficult to handle this properly.
>
> And that's why I've been saying that Make isn't really a very good tool
> for maintaining that sort of thing.
More precisely, Make only solves half of the problem.
>> You would need a tool to read the entire source and compute the
>> dependencies.
>
> You already have that tool. It just doesn't output its results in a form
> that Make can consume. Certainly the tools that generate the
> documentation files know which output files depends on which other files.
Interestingly, GHC can generate a Makefile containing a description of
the *source code* dependencies. Just not *documentation* dependencies. I
suppose because nobody needs it, because Haddock can do it for you.
>> Thus, if any compiler source code changes,
>
> Sure. I was asking whether if you change a test case, does "make test"
> just run that one test case? I've never seen that done.
Erm... It might do, actually. I'm not sure. I'd have to go check.
--
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*
Post a reply to this message
|
![](/i/fill.gif) |