summaryrefslogtreecommitdiff
path: root/debian/perl.install
diff options
context:
space:
mode:
Diffstat (limited to 'debian/perl.install')
-rwxr-xr-xdebian/perl.install19
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/perl.install b/debian/perl.install
new file mode 100755
index 0000000..701fe51
--- /dev/null
+++ b/debian/perl.install
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+cat <<EOF
+usr/bin
+debian/perl.perldoc usr/bin
+debian/libnet.cfg etc/perl/Net
+EOF
+
+cd debian/tmp
+# section 1 manual pages go in perl only for installed programs
+find usr/bin -type f -not -name perl -a -not -name perldoc -printf "%f\n" | \
+while read prog; do
+ man=usr/share/man/man1/$prog.1
+ if test -f $man; then
+ echo $man
+ else
+ echo "warning: no manual page for $prog" >&2
+ fi
+done