summaryrefslogtreecommitdiff
path: root/Makefile.PL
blob: d127d75a6355ab9f38d408ca3d9ab34fd2d123e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Lingua::Translit heavily relies on Perl's UTF-8 implementation and
# therefore needs at least Perl 5.8.0 to be installed.
require 5.008;

use strict;
use ExtUtils::MakeMaker;


WriteMakefile(
    NAME            =>  "Lingua::Translit",
    LICENSE         =>  "perl",
    VERSION_FROM    =>  "lib/Lingua/Translit.pm",
    ABSTRACT_FROM   =>  "lib/Lingua/Translit.pm",
    AUTHOR          =>  'Alex Linke <alinke@netzum-sorglos.de>',
    EXE_FILES       =>  [ qw/translit/ ],
    PL_FILES        =>  {
        'tools/substitute_tables.pl' => 'blib/lib/Lingua/Translit/Tables.pm'
    },
);


package MY;

sub postamble
{
    # include target to rebuild tables
    return  "tables:\n\t\$(MAKE) -C xml tables\n";
}


# vim: sts=4 sw=4 ts=4 ai et