CKEY in the action window scrolls the window so that the current frame
[blender.git] / extern / ode / dist / tools / process_deps
1 #!/usr/bin/perl
2
3 $a = join ('',<STDIN>);
4 $a =~ s/\\\n/ /g;               # join continued lines
5 $a =~ s/(^\S+:)/$ARGV[0]$1/gm;  # put prefix in front of rules
6 $a =~ s/\s+\/\S+/ /g;           # remove absolute path dependencies
7 $a =~ s/\s+\n/\n/g;             # remove whitespace at end of lines
8 $a =~ s/[ \t]+/ /g;             # clean up interior whitespace
9 $a =~ s/ / \\\n  /g;            # put back line continuations
10
11 print $a;