Subject: | blibdirs should not be a :: target |
With EU::MM 6.21 the generated Makefile contains a "blibdirs ::" target,
which does often have no dependencies. From the GNU make manual:
"If there are no prerequisites for that [double-colon]
rule, its commands are always executed (even if the target
already exists)."
This has the consequence, that a couple of targets are unneccessarily
rebuilt with each "make test", "make install" etc., like e.g.
$(INST_DYNAMIC), which causes a (sometime long-running) re-link.
I propose to make blibdirs a "single-colon" target. Works fine
here with GNU make and Solaris make.
Seems that these places need to be touched:
$ find lib -type f | xargs grep -n 'blibdirs.*::'
lib/ExtUtils/MM_Any.pm:110: my $make = "\nblibdirs :: \n";
lib/ExtUtils/MM_Unix.pm:620:blibdirs :: @targs
Cheers,
Marek