Use File::Share(Dir) for templates
[app-edwardng.git] / Makefile.PL
index 99e91db34db0f1312fee945db8753ebefaa89ddc..8b028b9a42564b25b05b6094df3c690b8be0deb4 100644 (file)
@@ -1,5 +1,8 @@
 use 5.014000;
 use ExtUtils::MakeMaker;
+use File::ShareDir::Install;
+
+install_share 'share';
 
 WriteMakefile(
        NAME              => 'App::EdwardNG',
@@ -11,6 +14,7 @@ WriteMakefile(
        SIGN              => 1,
        PREREQ_PM         => {
                qw/Email::Sender::Simple 0
+                  File::Share           0
                   File::Slurp           0
                   Getopt::Long          0
                   MIME::Entity          5.419
@@ -18,7 +22,11 @@ WriteMakefile(
                   Mail::GnuPG           0
                   PerlX::Maybe          0
                   Template              0
-                  Try::Tiny             0/
+                  Try::Tiny             0/,
+       },
+       BUILD_REQUIRES     => {
+               qw/ExtUtils::MakeMaker     0
+                  File::ShareDir::Install 0/,
        },
        META_MERGE         => {
                dynamic_config => 0,
@@ -27,3 +35,6 @@ WriteMakefile(
                }
        }
 );
+
+package MY;
+use File::ShareDir::Install qw/postamble/;
This page took 0.010347 seconds and 4 git commands to generate.