Re: Remove old outputs?

Dobes Vandermeer <dobes-1FMcoIRdraL2eFz/[email protected]> Wed, 15 Dec 2004 12:14:50 -0800
Newsgroups gmane.comp.tools.aap.user
Message-ID <[email protected]>
On Wed, 15 Dec 2004 21:13:25 +0100, Bram Moolenaar <[email protected]>  
wrote:

>
> Dobes Vandermeer wrote:
>
>> Does aap have a database of previous generated outputs, that can be used
>> to remove them if they are no longer needed?
>>
>> I have several cases where it is desirable to compile the entire  
>> contents
>> of a folder (say, compiling a directory full of lua files) to produce
>> another.  If a file is deleted from the folder, then the output(s)  
>> should
>> also be deleted.
>>
>> I haven't been able to tell whether any build system anywhere supports
>> this, but it seems like it should be possible.
>
> Aap does not remember the produced files.
>
> I know it makes sense to keep track of the produced files.  "make clean"
> never deletes the files that you removed from the build script.
>
> The big question, of course, is how to implement this...

You already store the hashes of the inputs and the command line used to  
generate the output, don't you?  Where is that stored?


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/