Module::Install::PadrePlugin - Module::Install support for Padre plugins
To add two useful "make" targets to your Padre plugin,
just add the
is_padre_plugin; line to your
use inc::Module::Install; name 'Padre::Plugin::Foo'; all_from 'lib/Padre/Plugin/Foo.pm'; is_padre_plugin; WriteAll;
This module adds one directive to Module::Install related to creating and installing Padre plugins as .par files and two
If you add this directive to your
Makefile.PL, two new
make targets become available to the user, see below.
To generate a .par file from the Padre plugin at hand which can be easily installed (see also below) into your Padre user directory, you can simply type:
perl Makefile.PL make plugin
Now you should have a shiny new
To install the Padre plugin at hand as a single PAR file into your Padre user/plugins directory, you can simply type:
perl Makefile.PL make installplugin
make plugin in between those two command isn't necessary, it's run by
installplugin if necessary.
Steffen Mueller <email@example.com>
Copyright (c) 2008. Steffen Mueller
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.