POV-Ray : Newsgroups : povray.off-topic : Unix shell : Re: Unix shell Server Time
3 Sep 2024 23:28:01 EDT (-0400)
  Re: Unix shell  
From: Orchid XP v8
Date: 31 Jan 2011 16:24:24
Message: <4d472888$1@news.povray.org>
>> 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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.