Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Re: Re: installing local modules

by donaldm314 (Pilgrim)
on Jun 28, 2002 at 04:46 UTC ( #177929=note: print w/replies, xml ) Need Help??


in reply to Re: Re: installing local modules
in thread installing local modules

I do something similar in scripts that automate module installation. However, I use a longer list of variables:
$makefile_args =
  " INSTALLPRIVLIB=$prefix/usr/lib/perl5/5.6.0 " .
  " INSTALLARCHLIB=$prefix/usr/lib/perl5/5.6.0/i386-linux " .
  " INSTALLSITELIB=$prefix/usr/lib/perl5/site_perl/5.6.0 " .
  " INSTALLSITEARCH=$prefix/usr/lib/perl5/site_perl/5.6.0/i386-linux " .
  " INSTALLBIN=$prefix/usr/bin " .
  " INSTALLSCRIPT=$prefix/usr/bin " .
  " INSTALLMAN1DIR=$prefix/usr/share/man/man1 " .
  " INSTALLMAN3DIR=$prefix/usr/share/man/man3 ";

All I do is set the $prefix. Voila! Modules where we want 'em!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2022-12-04 23:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?