Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

(crazyinsomniac: multi-line makefile) Re^2 Installing Perlmonks modules on Win32

by crazyinsomniac (Prior)
on May 10, 2002 at 01:19 UTC ( [id://165570]=note: print w/replies, xml ) Need Help??


in reply to Re: Installing Perlmonks modules on Win32
in thread Installing Perlmonks modules on Win32

Before I saw your 2line makefile, I wrote my own, with manifest, so here it is:
# Makefile.PL use ExtUtils::MakeMaker; # See lib/ExtUtils/MakeMaker.pm for details of how to influence # the contents of the Makefile that is written. WriteMakefile( 'NAME' => 'PerlMonks', ## 'VERSION_FROM' => 'PerlMonks.pm', # finds $VERSION ## 'ABSTRACT_FROM' => 'PerlMonks.pm', 'AUTHOR' => 'ZZamboni of PerlMonks.org fame', 'DISTNAME' => 'PerlMonksChat2', 'EXE_FILES' => ["getchat.old.pl", "getchat.pl", "getpage.pl", +"pmpager.pl" ], ,); # MANIFEST ChangeLog Makefile PerlMonks.pm PerlMonksChat.pm README getchat.old.pl getchat.pl getpage.pl pmchat pmpager.pl Makefile.PL MANIFEST PerlMonks\Chat.pm PerlMonks\NewestNodes.pm PerlMonks\Users.pm test\nodetypes test\testnn.pl

 
______crazyinsomniac_____________________________
Of all the things I've lost, I miss my mind the most.
perl -e "$q=$_;map({chr unpack qq;H*;,$_}split(q;;,q*H*));print;$q/$q;"

  • Comment on (crazyinsomniac: multi-line makefile) Re^2 Installing Perlmonks modules on Win32
  • Download Code

Replies are listed 'Best First'.
Re: (crazyinsomniac: multi-line makefile) Re^2 Installing Perlmonks modules on Win32
by tachyon (Chancellor) on May 10, 2002 at 01:28 UTC

    It was a three line Makefile.PL but like you I had to kill the VERSION_FROM bit as there is no $VERSION in it. I never use ABSRACT_FROM because it chokes on older perls. I should have included the EXE_FILES key (bad tachyon) as this gets nmake() to install these files in /perl/bin as .pl and .bat files

    As you also note I ignored the MANIFEST issue. When MakeMaker can't find a MANIFEST it just ignores the issue.

    Hat's off for doing it more thoroughly!

    use ExtUtils::MakeMaker; WriteMakefile( 'NAME' => 'PerlMonks', 'EXE_FILES' => ["getchat.old.pl", "getchat.pl", "getpage.pl", "p +mpager.pl" ], );

    cheers

    tachyon

    s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://165570]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2024-04-18 00:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found