2 # Makefile for Ian, 2.1.2001
5 all: sgml ../html/adminmanual_en.html ../txt/adminmanual_en.txt ../html/installation_en.html ../txt/installation_en.txt ../html/spiderFAQ_en.html ../txt/spiderFAQ_en.txt ../html/usermanual_en.html ../txt/usermanual_en.txt ../html/spiderCVS_en.html ../txt/spiderCVS_en.txt ../html/filtering_en.html ../txt/filtering_en.txt
7 sgml: ../cmd/Commands_en.hlp adminmanual.sgml usermanual.sgml
8 # Create the admin manual sgml file
9 cat ../cmd/Commands_en.hlp | ./commands2sgml.pl 9 > ./adminmanual-cmd.sgml
10 cat adminmanual.sgml adminmanual-cmd.sgml > ./adminmanual_en.sgml
12 # Create the user manual sgml file
13 cat ../cmd/Commands_en.hlp | ./commands2sgml.pl > usermanual-cmd.sgml
14 cat usermanual.sgml usermanual-cmd.sgml > usermanual_en.sgml
16 # ../txt/adminmanual_en.txt: adminmanual_en.sgml
17 sgml2txt -f adminmanual_en.sgml
19 # ../html/adminmanual_en.html: adminmanual_en.sgml
20 sgml2html adminmanual_en.sgml
22 # ../txt/installation_en.txt: installation_en.sgml
23 sgml2txt -f installation_en.sgml
25 # ../html/installation_en.html: installation_en.html
26 sgml2html installation_en.sgml
28 # ../html/spiderFAQ_en.html: spiderFAQ_en.sgml
29 sgml2txt -f spiderFAQ_en.sgml
31 # ../html/spiderFAQ_en.html: spiderFAQ_en.sgml
32 sgml2html spiderFAQ_en.sgml
34 # ../html/usermanual_en.html: usermanual_en.sgml
35 sgml2html usermanual_en.sgml
37 # ../txt/usermanual_en.txt: usermanual_en.sgml
38 sgml2txt -f usermanual_en.sgml
40 # ../html/spiderCVS_en.html: spiderCVS_en.sgml
41 sgml2html spiderCVS_en.sgml
43 # ../txt/spiderCVS_en.txt: spiderCVS_en.sgml
44 sgml2txt -f spiderCVS_en.sgml
46 # ../html/filtering_en.html: filtering_en.sgml
47 sgml2html filtering_en.sgml
49 # ../txt/filtering_en.txt: filtering_en.sgml
50 sgml2txt -f filtering_en.sgml
52 perl -pi.bak -e 's|</HEAD>|<link rel=stylesheet href="style.css" type="text/css" title="default stylesheet">\n</HEAD>|' *.html