Perl-Sensitive Sunglasses | |
PerlMonks |
Re^4: let Makefile.PL to do the Readme file for me -- no author target?by Discipulus (Canon) |
on Jan 24, 2021 at 15:18 UTC ( [id://11127367]=note: print w/replies, xml ) | Need Help?? |
Hello hippo, maybe I'm confused by the context of this part of the thread (where Autottols has another makefile) but you said: > author-only targets (such as make dist) I supposed too this to be true but I'm very disappointed (not by you ;) to discover is not. I'm actually playing with my Makefile.PL to add functionalities only during the author phase (distinct from user phase) and to do this I have overridden dist target (also tried with distdir one). Actually I have this pattern:
But for what I see the dist target is reached by the cpan client too:
I'd really prefere to use an already present target because of laziness: if I remember to make my_custom_target_do_readme I can also remember to make the readme by hand, no? :) Both dist and distdir are under ExtUtils::MakeMaker#Distribution-Support where is stated: > For authors of extensions MakeMaker provides several Makefile targets... Maybe the cpan client broke the rule? As side note cpan client has no verbose output and I did not found which steps it does to install a module. Thanks for reading. L*
There are no rules, there are no thumbs.. Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.
In Section
Seekers of Perl Wisdom
|
|