use strict;
use warnings;
use ExtUtils::MakeMaker;
WriteMakefile(
NAME => 'hwd',
AUTHOR => 'Andy Lester <andy@petdance.com>',
VERSION_FROM => 'HWD.pm',
ABSTRACT => "How We Doin'?, the project estimation and tracking tool",
PL_FILES => {},
EXE_FILES => [ 'bin/hwd', 'bin/hwd-burnchart' ],
PM => {
'HWD.pm' => '$(INST_LIBDIR)/App/HWD.pm',
'Task.pm' => '$(INST_LIBDIR)/App/HWD/Task.pm',
'Work.pm' => '$(INST_LIBDIR)/App/HWD/Work.pm',
},
PREREQ_PM => {
'DateTime' => 0,
'DateTime::Format::Strptime' => 0,
'Getopt::Long' => 0,
'Pod::Usage' => 0,
'Term::ReadKey' => 0,
'Test::More' => 0,
'Test::Exception' => 0,
'Text::CSV_XS' => 0,
},
MAN3PODS => { }, # no need for docs on these
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'hwd-* *.tmp' },
);
sub MY::postamble {
return <<'MAKE_FRAG';
.PHONY: tags
tags:
ctags -f tags --recurse --totals \
--exclude=blib --exclude=t/lib \
--exclude=.svn --exclude='*~' \
--languages=Perl --langmap=Perl:+.t \
MAKE_FRAG
}