summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-03-09 10:06:42 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-03-09 10:06:42 +0000
commit0e6946eb04f9501bc13e404bbd940c35b38af188 (patch)
treed96b99988900bfa25c98c2eb816cca34c96e8787 /autogen.sh
parentf181dca67d62e1bf68eb703e97bf0f9f6190c892 (diff)
downloadirssi-0e6946eb04f9501bc13e404bbd940c35b38af188.zip
FAQ is now in HTML format. Patch by Han.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2541 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index 490ae870..d8b8b4dd 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -28,6 +28,7 @@ cat docs/help/Makefile.am.gen|sed "s/@HELPFILES@/$files/g"|sed 's/?/\\?/g'|tr '!
# .html -> .txt with lynx
echo "Documentation: html -> txt..."
lynx -dump -nolist docs/startup-HOWTO.html > docs/startup-HOWTO.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..."