2011-10-08 21:58:37 +02:00
|
|
|
#!/usr/bin/env perl
|
2011-10-10 22:56:43 +02:00
|
|
|
# vim:ts=4:sw=4:expandtab
|
2011-10-08 21:58:37 +02:00
|
|
|
use strict; use warnings;
|
|
|
|
use ExtUtils::MakeMaker;
|
|
|
|
|
|
|
|
WriteMakefile(
|
2011-11-25 17:04:52 +01:00
|
|
|
NAME => 'i3-testsuite',
|
2011-10-08 21:58:37 +02:00
|
|
|
MIN_PERL_VERSION => '5.010000', # 5.10.0
|
|
|
|
PREREQ_PM => {
|
|
|
|
'AnyEvent' => 0,
|
2012-09-22 13:10:01 +02:00
|
|
|
'AnyEvent::I3' => '0.14',
|
2013-09-24 21:53:48 +02:00
|
|
|
'X11::XCB' => '0.09',
|
2011-11-23 00:10:00 +01:00
|
|
|
'Inline' => 0,
|
2012-08-31 00:17:06 +02:00
|
|
|
'ExtUtils::PkgConfig' => 0,
|
2012-01-29 19:03:03 +01:00
|
|
|
'Test::More' => '0.94',
|
2012-10-07 16:32:50 +02:00
|
|
|
'IPC::Run' => 0,
|
2011-10-08 21:58:37 +02:00
|
|
|
},
|
2011-11-12 01:51:18 +01:00
|
|
|
PM => {}, # do not install any files from this directory
|
2011-10-10 22:56:43 +02:00
|
|
|
clean => {
|
2011-11-12 01:51:18 +01:00
|
|
|
FILES => 'testsuite-* latest i3-cfg-for-*',
|
2011-10-10 22:56:43 +02:00
|
|
|
}
|
2011-10-08 21:58:37 +02:00
|
|
|
);
|
2011-11-12 01:51:18 +01:00
|
|
|
|
|
|
|
package MY;
|
|
|
|
sub test { } # do not run the tests while installing
|
|
|
|
|
|
|
|
# do not rename the Makefile
|
|
|
|
sub clean {
|
|
|
|
my $section = shift->SUPER::clean(@_);
|
|
|
|
$section =~ s/^\t\Q$_\E\n$//m for
|
|
|
|
'- $(MV) $(FIRST_MAKEFILE) $(MAKEFILE_OLD) $(DEV_NULL)';
|
|
|
|
$section;
|
|
|
|
}
|