aboutsummaryrefslogtreecommitdiffstats
path: root/tools/deplist.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/deplist.sh')
-rwxr-xr-xtools/deplist.sh22
1 files changed, 0 insertions, 22 deletions
diff --git a/tools/deplist.sh b/tools/deplist.sh
deleted file mode 100755
index cd2ecc0..0000000
--- a/tools/deplist.sh
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/bash
-
-# Generate a dependency list for debian packages needed to work
-#
-# This is ... somewhat extensive. And a good incentive for people to clean
-# up their mess.
-
-(
-cat <<_EOF_
-use lib '../include';
-use lib '../web/streamlib';
-_EOF_
-find ../ -name '*pl' -exec egrep '^use ' {} \; | sort | uniq
-cat <<_EOF_
-foreach my \$key (keys %INC) {
- if (\$INC{\$key} =~ m/^\./) {
- next;
- }
- print \$INC{\$key} . "\n";
-}
-_EOF_
-) | perl 2>/dev/null | xargs realpath | xargs dpkg -S | awk '{print $1}' | sed 's/:$//' | sort | uniq