]> git.sur5r.net Git - i3/i3/blob - testcases/Makefile.PL
3c2a26f97255c09161e13c03f48ee4658aaa8b0e
[i3/i3] / testcases / Makefile.PL
1 #!/usr/bin/env perl
2 # vim:ts=4:sw=4:expandtab
3 use strict; use warnings;
4 use ExtUtils::MakeMaker;
5
6 WriteMakefile(
7     NAME => 'i3-testsuite',
8     MIN_PERL_VERSION => '5.010000', # 5.10.0
9     PREREQ_PM => {
10         'AnyEvent'     => 0,
11         'AnyEvent::I3' => '0.16',
12         'X11::XCB'     => '0.12',
13         'Inline'       => 0,
14         'Inline::C'    => 0,
15         'ExtUtils::PkgConfig' => 0,
16         'Test::More'   => '0.94',
17         'IPC::Run' => 0,
18     },
19     PM => {}, # do not install any files from this directory
20     clean => {
21         FILES => 'testsuite-* latest i3-cfg-for-*',
22     }
23 );
24
25 package MY;
26 sub test { } # do not run the tests while installing
27
28 # do not rename the Makefile
29 sub clean {
30     my $section = shift->SUPER::clean(@_);
31     $section =~ s/^\t\Q$_\E\n$//m for
32         '- $(MV) $(FIRST_MAKEFILE) $(MAKEFILE_OLD) $(DEV_NULL)';
33     $section;
34 }