]> git.sur5r.net Git - i3/i3/blob - testcases/Makefile.PL
Update ewmh focused only when new focus is different (#3496)
[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         'X11::XCB'     => '0.12',
12         'Inline'       => 0,
13         'Inline::C'    => 0,
14         'ExtUtils::PkgConfig' => 0,
15         'Test::More'   => '0.94',
16         'IPC::Run' => 0,
17     },
18     PM => {}, # do not install any files from this directory
19     clean => {
20         FILES => 'testsuite-* latest i3-cfg-for-*',
21     },
22     # This is a pure-Perl distribution:
23     linkext => {
24         LINKTYPE => '',
25     },
26 );
27
28 package MY;
29 sub test { } # do not run the tests while installing
30
31 # do not rename the Makefile
32 sub clean {
33     my $section = shift->SUPER::clean(@_);
34     $section =~ s/^\t\Q$_\E\n$//m for
35         '- $(MV) $(FIRST_MAKEFILE) $(MAKEFILE_OLD) $(DEV_NULL)';
36     $section;
37 }