diff options
Diffstat (limited to 'bin')
-rw-r--r-- | bin/distdep | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/distdep b/bin/distdep new file mode 100644 index 0000000..287ce84 --- /dev/null +++ b/bin/distdep @@ -0,0 +1,6 @@ +#!/usr/bin/perl -p +# Usage: $0 [<].depend +# Takes dependency info and generates on stdout dependencies suitable for +# distribution by removing all the system include files from the list. +($h,$_)=/\s*\\/?$h.$`:("","$h\n"); +s|( +/\S*)*( *)|$2?" \\\n ":""|eg; |