Add a rule to make ../AUTHORS-SHORT-FORMAT, as it won't necessarily have
[obnox/wireshark/wip.git] / make-faq
1 #!/bin/sh
2 #
3 # $Id$
4 #
5 # Make-faq - Creates a plain text version of the Ethereal FAQ
6 #       from http://www.ethereal.com/faq.html
7
8 rm -f FAQ
9 cat >FAQ <<EOF
10
11    The Ethereal FAQ
12
13    Note: This is just an ASCII snapshot of the faq and may not be up to
14          date. Please go to http://www.ethereal.com/faq.html for the up
15          to date version. The version of this snapshot can be found at
16          the end of this document.
17
18    INDEX
19
20 EOF
21
22 lynx -dump -nolist "http://www.ethereal.com/faq.html" | sed -e '1,/^Index/d' >>FAQ
23
24 echo
25 echo "Now verfiy everything is OK and copy FAQ to help/faq.txt"
26 echo "To verify run: diff -u help/faq.txt FAQ"
27 echo
28
29 exit 0