root/buildtools/culldeps.sh

Revision 376300203ae56684650f59bd0e6aae8c8f00065f, 143 bytes (checked in by Theo Schlossnagle <jesus@omniti.com>, 2 months ago)

cleanup dtrace header deps

  • Property mode set to 100755
Line 
1 #!/bin/bash
2
3 perl -ni -e 's/^(\S+)\.o:/$1.o $1.lo:/g; s/(\s)\/\S+/$1/g; next if /^\s*\\?$/; print "\n" if /^\S/; s/^\s+(?=\S)/  /g; print;' $*
Note: See TracBrowser for help on using the browser.