Debian Codegraph @

scripts/fast-eumm.pl

raw
1 #!/usr/bin/perl
2
3 use strict;
4 use warnings;
5
6 use File::Slurp qw(:edit);
7
8 if (system("$^X", "Makefile.PL"))
9 {
10 die "Cannot run 'Makefile.PL' - $!";
11 }
12
13 edit_file_lines(
14 sub { $_ = '' if m/\$\(OBJECT\).*:.*\$\(FIRST_MAKEFILE\)/ },
15 'Makefile'
16 );