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

fixing 'Your Makefile has been rebuilt.' tedium

Thread Next
Dave Mitchell
March 25, 2006 07:06
fixing 'Your Makefile has been rebuilt.' tedium
Message ID:
For a while now I've been irritated by the fact that 'make'
after a small change to a perl src file triggers all extentions to get
rebuilt too, with messages like

    Writing Makefile for attrs
    ==> Your Makefile has been rebuilt. <==
    ==> Please rerun the make command.  <==

This is due to the extensions' makefiles having a dependency on
lib/, which is rebuilt each time miniperl is updated.

With change #27603, configpm now only rewrites the two files
lib/ and lib/ if they would have changed.
(Actually, if *either* file has changed, it updates both of them.)

I've also added some documentation the the file, and added a retropective
copyright header.

Hofstadter's Law: It always takes longer than you expect, even when you
take into account Hofstadter's Law.

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About