]> git.sur5r.net Git - i3/i3/blob - testcases/Makefile.PL
Merge branch 'master' into next
[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.09',
12         'X11::XCB'     => '0.03',
13         'Inline'       => 0,
14         'ExtUtils::PkgConfig' => 0,
15         'Test::More'   => '0.94',
16     },
17     PM => {}, # do not install any files from this directory
18     clean => {
19         FILES => 'testsuite-* latest i3-cfg-for-*',
20     }
21 );
22
23 package MY;
24 sub test { } # do not run the tests while installing
25
26 # do not rename the Makefile
27 sub clean {
28     my $section = shift->SUPER::clean(@_);
29     $section =~ s/^\t\Q$_\E\n$//m for
30         '- $(MV) $(FIRST_MAKEFILE) $(MAKEFILE_OLD) $(DEV_NULL)';
31     $section;
32 }