Merge "Add File::ShareDir::Install to dependencies"
diff --git a/Makefile.PL b/Makefile.PL
index 3e15add..fc62eaa 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -13,6 +13,10 @@
   ABSTRACT     => 'Conversion of TEI P5 based formats to KorAP-XML',
   VERSION_FROM => 'script/tei2korapxml',
   LICENSE      => 'freebsd',
+  CONFIGURE_REQUIRES => {
+    'ExtUtils::MakeMaker'     => '6.52',
+    'File::ShareDir::Install' => '0.13',
+  },
   BUILD_REQUIRES => {
     'Test::More' => 0,
     'Test::Output' => 0,
diff --git a/Readme.pod b/Readme.pod
index 295e3ab..10a6281 100644
--- a/Readme.pod
+++ b/Readme.pod
@@ -70,8 +70,8 @@
 
 =head1 INSTALLATION
 
-C<tei2korapxml> requires L<libxml2-dev> bindings to build. When
-these bindings are available, the preferred way to install the script is
+C<tei2korapxml> requires L<libxml2-dev> bindings and L<File::ShareDir::Install> to be installed.
+When these requirements are met, the preferred way to install the script is
 to use L<cpanm|App::cpanminus>.
 
   $ cpanm https://github.com/KorAP/KorAP-XML-TEI.git
diff --git a/script/tei2korapxml b/script/tei2korapxml
index 2bd38a6..6493a9c 100755
--- a/script/tei2korapxml
+++ b/script/tei2korapxml
@@ -461,8 +461,8 @@
 
 =head1 INSTALLATION
 
-C<tei2korapxml> requires L<libxml2-dev> bindings to build. When
-these bindings are available, the preferred way to install the script is
+C<tei2korapxml> requires L<libxml2-dev> bindings and L<File::ShareDir::Install> to be installed.
+When these requirements are met, the preferred way to install the script is
 to use L<cpanm|App::cpanminus>.
 
   $ cpanm https://github.com/KorAP/KorAP-XML-TEI.git