aboutsummaryrefslogtreecommitdiffstats
path: root/tools/deplist.sh
diff options
context:
space:
mode:
authorOle Mathias Heggem <olemathias.aa.heggem@gmail.com>2023-01-21 19:07:38 +0100
committerOle Mathias Heggem <olemathias.aa.heggem@gmail.com>2023-01-21 19:07:38 +0100
commit709c78569b26677624e60588fa1166dc659ac93c (patch)
tree2bd5555af31b637d03693b8563fb24b41bf1f22b /tools/deplist.sh
parentf5da0d943401e527f5162e9c6344deb65b19b045 (diff)
chore: cleanup repo
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