1use ExtUtils::MakeMaker;
2
3sub MY::postamble {
4    my $postamble = <<'MAKE_FRAG';
5.PHONY: tags
6
7tags:
8	ctags -f tags --recurse --totals \
9		--exclude=blib \
10		--exclude='*~' \
11		--languages=Perl --langmap=Perl:+.t \
12MAKE_FRAG
13}
14
15WriteMakefile(
16    NAME          => 'ANTLR::Runtime',
17    VERSION_FROM  => 'lib/ANTLR/Runtime.pm',
18    LICENSE       => 'perl',
19    ABSTRACT_FROM => 'lib/ANTLR/Runtime.pm',
20    AUTHOR        => 'Ronald Blaschke <ron@rblasch.org>',
21    PREREQ_PM     => {
22                      'Carp'              => '1.04',
23                      'Moose'             => '0.82',
24                      'Readonly'          => '1.03',
25                      'Test::Class'       => '0.28',
26                     },
27    test          => { TESTS => 't/*.t t/examples/*.t' },
28);
29