]> git.sur5r.net Git - i3/i3/blobdiff - testcases/Makefile.PL
Merge branch 'stevenjm-big-endian'
[i3/i3] / testcases / Makefile.PL
index da0c15707ce44b43e8cbdaa19273b2dae95dd87a..f2c15013f5246b7e9346819d60365818d4fd68dd 100755 (executable)
@@ -1,21 +1,34 @@
 #!/usr/bin/env perl
+# vim:ts=4:sw=4:expandtab
 use strict; use warnings;
 use ExtUtils::MakeMaker;
 
 WriteMakefile(
-    NAME => 'i3 testsuite',
+    NAME => 'i3-testsuite',
     MIN_PERL_VERSION => '5.010000', # 5.10.0
     PREREQ_PM => {
         'AnyEvent'     => 0,
-        'AnyEvent::I3' => '0.08',
-        'X11::XCB'     => '0.03',
-        'Test::Most'   => 0,
-        'Test::Deep'   => 0,
-       'EV'           => 0,
-       'Inline'       => 0,
+        'AnyEvent::I3' => '0.15',
+        'X11::XCB'     => '0.09',
+        'Inline'       => 0,
+        'Inline::C'    => 0,
+        'ExtUtils::PkgConfig' => 0,
+        'Test::More'   => '0.94',
+        'IPC::Run' => 0,
     },
-    # don't install any files from this directory
-    PM => {},
+    PM => {}, # do not install any files from this directory
+    clean => {
+        FILES => 'testsuite-* latest i3-cfg-for-*',
+    }
 );
-# and don't run the tests while installing
-sub MY::test { }
+
+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;
+}