Re: [Module::Build] notes on notes
Status: Beta
Brought to you by:
kwilliams
|
From: Dave R. <au...@ur...> - 2004-01-02 04:30:35
|
On Thu, 1 Jan 2004, Uri Guttman wrote: > motives (as well and his morals and dna) for this are suspect. i don't > see any need for persistant config params in this install as stem will > probably not be reinstalled (often) from the same tarball. it doesn't > have build variations like some other modules do. It's useful if someone installs Stem 0.10 and later goes to install 0.11. That way the previous values are presented as defaults. > now, there are several ways to to this and notes is one of them. but > since we already write out the config params to that stem module, > loading that is very easy and i will prolly stay with it. notes is not persistent after a "./Build clean", so it's only for "during the build/install" data. > side question: since that config module is generated at build/install > time it should be deleted with realclean. but it won't be seen that way > by the default realclean action. do i need to write my own realclean > action, delete that config file and then call SUPER::ACTION_real_clean? > it isn't hard but is there a standard way to add things to realclean? $build->add_to_cleanup($path_to_file); -dave /*======================= House Absolute Consulting www.houseabsolute.com =======================*/ |