]> 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     },
15     PM => {}, # do not install any files from this directory
16     clean => {
17         FILES => 'testsuite-* latest i3-cfg-for-*',
18     }
19 );
20
21 package MY;
22 sub test { } # do not run the tests while installing
23
24 # do not rename the Makefile
25 sub clean {
26     my $section = shift->SUPER::clean(@_);
27     $section =~ s/^\t\Q$_\E\n$//m for
28         '- $(MV) $(FIRST_MAKEFILE) $(MAKEFILE_OLD) $(DEV_NULL)';
29     $section;
30 }