develooper Front page | perl.perl5.porters | Postings from March 2008

[patch] refine make regen to be more selective

Thread Next
From:
Jim Cromie
Date:
March 11, 2008 10:39
Subject:
[patch] refine make regen to be more selective
Message ID:
47D6C38A.7070304@gmail.com

make regen will currently cause recompilation of everything.

this patch makes it more selective

1 - copies do_cksum from regen.pl to regen_libs.pl, and simplifies it.
    This includes a change to unpack arg, to use U rather than C.
    It has no apparent effect, but seems worth noting here.

2 - uses it in safer_rename() to be more selective

3 - various fixups in *.pl-s called by regen.pl
    (remove unlink()s so comparison between old and new works)


This may expose some missing dependencies, which were covered by 
brute-force regen

It should allow 'regen' target to be rolled into 'all'



Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About