#!/bin/sh
# Run this to generate all the initial makefiles, etc.
-PKG_NAME="Irssi SILC"
+PKG_NAME="SILC Client"
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
# .html -> .txt with lynx
echo "Documentation: html -> txt..."
-lynx -dump -nolist docs/faq.html|perl -pe 's/^ *//; if ($_ eq "\n" && $state eq "Q") { $_ = ""; } elsif (/^([QA]):/) { $state = $1 } elsif ($_ ne "\n") { $_ = " $_"; };' > docs/faq.txt
echo "Checking auto* tools..."