Introduce Build.PL to manage module installation
Start using Perl's Module::Build functionality to
install scripts and modules.
Change-Id: Ia89bf968cbf09faec49c424c3b3f2f91465a6b41
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/Build.PL b/Build.PL
new file mode 100644
index 0000000..805b065
--- /dev/null
+++ b/Build.PL
@@ -0,0 +1,10 @@
+use Module::Build;
+
+Module::Build->new(
+ dist_name => 'MRWTools',
+ dist_version => '1.0',
+ license => 'perl',
+ script_files => ['gen_devtree.pl', 'gen_led_groups.pl', 'hwmon.pl'],
+ pm_files => {'Inventory.pm' => 'lib/mrw/Inventory.pm',
+ 'Util.pm' => 'lib/mrw/Util.pm'},
+)->create_build_script;