Login
Remove backslash from end of last line in the tags target
[gknop/Perl-Critic.git] / Makefile.PL
CommitLineData
02b7b45d
JRT
1#######################################################################
2# $URL$
3# $Date$
4# $Author$
5# $Revision$
345c7562 6# ex: set ts=8 sts=4 sw=4 tw=78 ft=perl expandtab :
02b7b45d
JRT
7########################################################################
8
59b05e08
JRT
9use strict;
10use warnings;
59b05e08
JRT
11use ExtUtils::MakeMaker;
12
d1a97a75 13my $warning = <<'END_WARNING';
d06bd3e7 14
a4141f24
JRT
15###################################################
16# NOTICE! NOTICE! NOTICE! NOTICE! NOTICE! NOTICE! #
17#-------------------------------------------------#
18# In this version of Perl::Critic, some of #
19# the Policy modules have been renamed to better #
20# better reflect the intent of the Policy. If #
21# you have an older version of Perl::Critic #
22# already installed, it will cause many of the #
23# tests to fail and the new version will not work #
24# properly. #
25# #
26# I strongly advise you to remove the current #
27# version of Perl::Critic before proceeding with #
28# this installation. In most cases, this can be #
29# done by deleting everything below the #
30# Perl/Critic/Policy directory in your site_perl #
31# location. #
32# #
33# Also, if you have created a .perlcriticrc file, #
34# you will need to update it to match the new #
35# Policy module names. #
36# #
37# Sorry for the inconvenience. #
38# #
39# -Jeff <thaljef@cpan.org> #
40###################################################
d06bd3e7 41
a4141f24
JRT
42END_WARNING
43
d1a97a75
JRT
44
45eval {
46 require Perl::Critic;
47 warn $warning if $Perl::Critic::VERSION < 0.14;
48};
49
50
f372073c
AL
51WriteMakefile(
52 NAME => 'Perl::Critic',
53 AUTHOR => 'Jeffrey Thalhammer <thaljef@cpan.org>',
54 ABSTRACT_FROM => 'lib/Perl/Critic.pm',
55 VERSION_FROM => 'lib/Perl/Critic.pm',
56 EXE_FILES => ['bin/perlcritic'],
57 PL_FILES => {},
58 PREREQ_PM => {
e2d4c0f0 59 'B::Keywords' => 1.05,
f372073c
AL
60 'Config::Tiny' => 2,
61 'File::Spec' => 0,
62 'File::Spec::Unix' => 0,
63 'IO::String' => 0,
64 'List::MoreUtils' => 0,
65 'List::Util' => 0,
a7340650 66 'Module::Pluggable' => 3.1,
f372073c
AL
67 'PPI' => 1.118,
68 'Pod::PlainText' => 0,
69 'Pod::Usage' => 0,
c680a9c9 70 'Readonly' => 1.03,
f372073c 71 'Scalar::Util' => 0,
f372073c
AL
72 'String::Format' => 1.13,
73 'Test::More' => 0,
74 },
59b05e08 75);
e2d1c3dd
AL
76
77sub MY::postamble {
c1c3dd88 78 return <<"MAKE_FRAG";
e2d1c3dd
AL
79.PHONY: tags
80
81tags:
c1c3dd88
ES
82\tctags -f tags \\
83\t\t--recurse \\
84\t\t--totals \\
85\t\t\\
86\t\t--exclude=blib/ \\
87\t\t--exclude=t/lib \\
88\t\t--exclude=.svn \\
89\t\t--exclude='*~' \\
90\t\t\\
91\t\t--languages=Perl \\
fdac20fb 92\t\t--langmap=Perl:+.t
e2d1c3dd
AL
93MAKE_FRAG
94}
95
c28a9e24
JRT
96##############################################################################
97# Local Variables:
98# mode: cperl
99# cperl-indent-level: 4
100# fill-column: 78
101# indent-tabs-mode: nil
102# c-indentation-style: bsd
103# End:
104# ex: set ts=8 sts=4 sw=4 tw=78 ft=perl expandtab :