]> git.sur5r.net Git - i3/i3/blob - testcases/Makefile.PL
testcases: remove external AnyEvent::I3 dependency
[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 );
23
24 package MY;
25 sub test { } # do not run the tests while installing
26
27 # do not rename the Makefile
28 sub clean {
29     my $section = shift->SUPER::clean(@_);
30     $section =~ s/^\t\Q$_\E\n$//m for
31         '- $(MV) $(FIRST_MAKEFILE) $(MAKEFILE_OLD) $(DEV_NULL)';
32     $section;
33 }