Skip Menu |
 

This queue is for tickets about the Module-Install CPAN distribution.

Report information
The Basics
Id: 20776
Status: resolved
Priority: 0/
Queue: Module-Install

People
Owner: Nobody in particular
Requestors: MTHURN [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.63
Fixed in: (no value)



Subject: can not change POSTOP makefile macro
Download (untitled) / with headers
text/plain 533b
I want to change the POSTOP macro definition in the generated makefile. How do I do it? According to the ExtUtils::MM_Unix source code, the value of POSTOP can be changed by providing an argument to the dist() function. However, the function Module::Install::Makefile::write() does NOT allow anything to get passed in to the dist() function -- nothing except its own hardcoded PREOP value, that is. 8-( Please fix M::I so that I can call dist({POSTOP=>'my-postop-command'}) in Makefile.PL -- - - Martin 'Kingpin' Thurn
Download (untitled) / with headers
text/plain 261b
And I want to be able to set the PREOP macro to something of my own devising, rather than the default Module::Install::Admin->dist_preop() which is neither defined nor documented. Come on guys! You've broken basic ExtUtil::MM behavior for no good reason! John
Download (untitled) / with headers
text/plain 798b
Hi. This can be done by 1) using "WriteMakefile" interface (of MI) for easy conversion from EUMM, 2) or (previously undocumented) "makemaker_args" command which takes the same args with "WriteMakefile". API doc is on the way. Thanks. On 2006-7-31 Mon 16:11:39, MTHURN wrote: Show quoted text
> I want to change the POSTOP macro definition in the generated > makefile. How do I do it? According to the ExtUtils::MM_Unix source > code, the value of POSTOP can be changed by providing an argument to > the dist() function. However, the function > Module::Install::Makefile::write() does NOT allow anything to get > passed in to the dist() function -- nothing except its own hardcoded > PREOP value, that is. 8-( Please fix M::I so that I can call > dist({POSTOP=>'my-postop-command'}) in Makefile.PL
Hi. Module::Install 0.96/0.97 with an API document is out. Thanks.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.