Michael G Schwern wrote: [...]
So what's happening is the .bs file is being created and then moved to inst_archautodir (blib/arch/Apache2/auto/blah). This causes inst_archautodir's mod time to be kicked to the current time. If the creation of the .bs file and its being moved into the blib happen on different seconds then the inst_archautodir is considered newer than .bs and it has to be rebuilt. Since this will only occassionally happen only some of the subdirs have to be rebuilt. And if you run make enough times eventually .bs and the move will happen inside the same second.
The moral of the story? Directory targets in Makefiles are a bad idea after all. Argh.
So, god help me, I may have to return to .exists files.
:(
Thanks for figuring out the cause, Michael.
I suppose you could reuse some of the autogenerated files, like foo.bs instead of .exists, but the problem is that not all dirs run XS generation, so sometimes nothing is autogenerated. Not sure what's the best solution here.
-- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
