2011-10-08 15:58:37 -04:00
|
|
|
#!/usr/bin/env perl
|
2011-10-10 16:56:43 -04:00
|
|
|
# vim:ts=4:sw=4:expandtab
|
2011-10-08 15:58:37 -04:00
|
|
|
use strict; use warnings;
|
|
|
|
use ExtUtils::MakeMaker;
|
|
|
|
|
|
|
|
WriteMakefile(
|
|
|
|
NAME => 'i3 testsuite',
|
|
|
|
MIN_PERL_VERSION => '5.010000', # 5.10.0
|
|
|
|
PREREQ_PM => {
|
|
|
|
'AnyEvent' => 0,
|
2011-10-20 15:31:44 -04:00
|
|
|
'AnyEvent::I3' => '0.09',
|
2011-10-08 15:58:37 -04:00
|
|
|
'X11::XCB' => '0.03',
|
2011-11-21 20:34:26 -05:00
|
|
|
'Inline' => 0,
|
2011-10-08 15:58:37 -04:00
|
|
|
},
|
2011-11-11 19:51:18 -05:00
|
|
|
PM => {}, # do not install any files from this directory
|
2011-10-10 16:56:43 -04:00
|
|
|
clean => {
|
2011-11-11 19:51:18 -05:00
|
|
|
FILES => 'testsuite-* latest i3-cfg-for-*',
|
2011-10-10 16:56:43 -04:00
|
|
|
}
|
2011-10-08 15:58:37 -04:00
|
|
|
);
|
2011-11-11 19:51:18 -05: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;
|
|
|
|
}
|