Re: [Module::Build] notes on notes
Status: Beta
Brought to you by:
kwilliams
|
From: Uri G. <ur...@st...> - 2004-01-02 04:39:24
|
>>>>> "DR" == Dave Rolsky <au...@ur...> writes: DR> 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. DR> It's useful if someone installs Stem 0.10 and later goes to install 0.11. DR> That way the previous values are presented as defaults. hmm. never thought of it that way. this would also only work if the new install used the same perl (or shared the same perl lib tree) and the previous one. but i will note it and write it up in the INSTALL doc. also with the option to just use the defaults, it will make installing new stem versions faster as well. >> 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. DR> notes is not persistent after a "./Build clean", so it's only for "during DR> the build/install" data. so that confirms my not using notes. >> 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? DR> $build->add_to_cleanup($path_to_file); so this will clean it up in the build tree which is good and leave it in the installed lib dir. i will add it to the sub that makes the config file as it has the path. i have to check if the default install command will install a generated .pm file that is not in the manifest. thanx, uri -- Uri Guttman ------ ur...@st... -------- http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search or Offer Perl Jobs ---------------------------- http://jobs.perl.org |