Keep It Simple, Stupid | |
PerlMonks |
Re^3: let Makefile.PL to do the Readme file for me -- new target?by pryrt (Abbot) |
on Jan 20, 2021 at 17:45 UTC ( [id://11127154]=note: print w/replies, xml ) | Need Help?? |
Rolf, no offense meant, but you seem to want this to be difficult; it's really not. For example, did you notice the name of that module: it starts with "Win32"? The solution I showed functions perfectly in Strawberry Perl on Windows, out of the box. Strawberry gives you the gcc build environment, with dmake (older strawberries) or gmake (newer strawberries) with perl -V:make showing the make variant to use. No extra work on your part. No bash emulation needed. Using a perl module to build a makefile is part of the standard ExtUtils::MakeMaker environment. Data::IEEE754::Tools Makefile.PL shows similar syntax, with the same syntax working on both Windows and Linux environments. Using the Makefile.PL -> Makefile to add extra targets, to automate extra things for development, is an intended use of the ExtUtils::MakeMaker environment. If you don't like it, that's your perogative; you don't have to use it. But it is a system that works, even on Windows with Strawberry Perl.
In Section
Seekers of Perl Wisdom
|
|