Module::Install::RTx - RT extension installer
This document describes version 0.10 of Module::Install::RTx, released October 1, 2004.
In the Makefile.PL of the RTx-Foo module:
RTx-Foo
use inc::Module::Install; RTx('Foo'); author('Your Name <your@email.com>'); license('perl'); &WriteAll;
This Module::Install extension implements one function, RTx, that takes the extension name as the only argument.
RTx
It arranges for certain subdirectories to install into the installed RT location, but does not affect the usual lib and t directories.
lib
t
The directory mapping table is as below:
./bin => $RT::LocalPath/bin ./etc => $RT::LocalPath/etc/$NAME ./html => $RT::MasonComponentRoot ./po => $RT::LocalLexiconPath/$NAME ./sbin => $RT::LocalPath/sbin ./var => $RT::VarPath/$NAME
Under the default RT3 layout in /opt and with the extension name Foo, it becomes:
Foo
./bin => /opt/rt3/local/bin ./etc => /opt/rt3/local/etc/Foo ./html => /opt/rt3/share/html ./po => /opt/rt3/local/po/Foo ./sbin => /opt/rt3/local/sbin ./var => /opt/rt3/var/Foo
By default, all these subdirectories will be installed with make install. you can override this by setting the WITH_SUBDIRS environment variable to a comma-delimited subdirectory list, such as html,sbin.
make install
WITH_SUBDIRS
html,sbin
Alternatively, you can also specify the list as a command-line option to Makefile.PL, like this:
Makefile.PL
perl Makefile.PL WITH_SUBDIRS=sbin
Path to the RT installation that contains a valid lib/RT.pm.
Module::Install
http://www.bestpractical.com/rt/
Autrijus Tang <autrijus@autrijus.org>
Copyright 2003, 2004 by Autrijus Tang <autrijus@autrijus.org>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See http://www.perl.com/perl/misc/Artistic.html
1 POD Error
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head1'
To install Module::Install::RTx, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Module::Install::RTx
CPAN shell
perl -MCPAN -e shell install Module::Install::RTx
For more information on module installation, please visit the detailed CPAN module installation guide.