3 # Script to build the Exim FAQ in text and HTML formats.
5 /bin
/rm -f FAQ.txt
* html
/FAQ
* FAQ-html
/* FAQ-html.
tar.
*
6 /bin
/rm -f config.samples.
tar.gz config.samples.
tar.bz2
8 # The FAQchk Perl script checks for the numbers being in order and for the
9 # right number of blank lines at various places.
12 if [ $?
!= 0 ]; then exit 1; fi
17 echo "html/FAQ*.html made"
20 echo "html/FAQ-KWIC*.html made"
22 cp html
/FAQ
* html
/*.txt FAQ-html
23 echo "copied to FAQ-html"
25 tar cf FAQ-html.
tar FAQ-html
27 echo "FAQ-html.tar.gz made"
29 tar cf FAQ-html.
tar FAQ-html
31 echo "FAQ-html.tar.gz2 made"
39 gzip -v --best FAQ.txt-t
40 mv FAQ.txt-t.gz FAQ.txt.gz
41 echo "FAQ.txt.gz made"
45 mv FAQ.txt-t.bz2 FAQ.txt.bz2
46 echo "FAQ.txt.bz2 made"
48 # Configuration samples
50 tar -chf config.samples.
tar config.samples
51 gzip config.samples.
tar
52 echo "config.samples.tar.gz made"
54 tar -chf config.samples.
tar config.samples
55 bzip2 -9 config.samples.
tar
56 echo "config.samples.tar.bz2 made"