Re: Remove old outputs?
Bram Moolenaar <[email protected]> Wed, 15 Dec 2004 22:14:43 +0100
| Newsgroups | gmane.comp.tools.aap.user |
|---|---|
| Message-ID | <[email protected]> |
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? These are in the AAPDIR/sign files. Perhaps the presence of an entry there could be used somehow. -- "Thou shalt not follow the Null Pointer, for at its end Chaos and Madness lie." /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ Project leader for A-A-P -- http://www.A-A-P.org /// \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html /// ------------------------------------------------------- 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/