Commits

tiedeman  committed 4f235b9

fixed makefile

  • Participants
  • Parent commits de537ff

Comments (0)

Files changed (2)

 use inc::Module::Install;
 
-name          'PDF2XML';
-license       'gpl';
-author        'Joerg Tiedemann';
-version       '0.1';
-
+name        'PDF2XML';
 abstract    'Converting PDF to XML';
 author      'Joerg Tiedemann';
+license     'gpl';
+version     '0.1';
+
+include     'Module::AutoInstall';
 
 requires 'IPC::Open2'  => 0;
 requires 'XML::Parser' => 0;
 
 recommends 'File::ShareDir' => 0;
 
-requires_external_bin 'pdf2text';
+requires_external_bin 'pdftotext';
 requires_external_bin 'java';
 
+auto_install;
+
 install_script 'pdf2xml';
 install_share;
+
+WriteAll;
 
 =head1 DESCRIPTION
 
-pdf2xml calls Apache Tika to extract text from PDf files and to convert them to XML (actually XHTML). It also uses pdf2text to find words that should not be split into character sequences (which often happens with pdf-text extractiont tools) and it also tries to put hyphenated words together again (again using different modes of pdftotext)
+pdf2xml calls Apache Tika to extract text from PDf files and to convert them to XML (actually XHTML). It also uses pdftotext to find words that should not be split into character sequences (which often happens with pdf-text extractiont tools) and it also tries to put hyphenated words together again (again using different modes of pdftotext)
 
 =head1 SEE ALSO