overload.pl shouldnt update its output unconditionally
authorJim Cromie <jim.cromie@gmail.com>
Sat, 30 May 2009 17:07:57 +0000 (11:07 -0600)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Fri, 5 Jun 2009 22:15:40 +0000 (00:15 +0200)
commit813720522fb5f54e39efcf9e4103d762ad005f51
treefb1510f2fb3e42dfe3d5b1ca46347b1513ee6944
parente8b9ce6006d3ecb2b02af04e4406ccb4294e728c
overload.pl shouldnt update its output unconditionally

fix overload.pl to use rename_if_different, imitating reentr.pl
(including commenting safer_unlink rather than scrubbing it).
Leave lib/overload/number.pm unconditionally generated,
since it is not a dependency for make perl

With this, "make regen perl; make regen perl" will recompile at most 1x.
In turn, this improves utility of regen as an added default make target.
overload.pl