]> scm.dxcluster.org Git - spider.git/blob - sgml/Makefile
add CTY-2414 prefixes
[spider.git] / sgml / Makefile
1 #
2 # Makefile for Ian, 2.1.2001
3 #
4
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
6
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
11
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
15
16 #       ../txt/adminmanual_en.txt: adminmanual_en.sgml
17         sgml2txt -f adminmanual_en.sgml
18
19 #       ../html/adminmanual_en.html: adminmanual_en.sgml
20         sgml2html adminmanual_en.sgml
21
22 #       ../txt/installation_en.txt: installation_en.sgml
23         sgml2txt -f installation_en.sgml
24
25 #       ../html/installation_en.html: installation_en.html
26         sgml2html installation_en.sgml
27
28 #       ../html/spiderFAQ_en.html: spiderFAQ_en.sgml 
29         sgml2txt -f spiderFAQ_en.sgml
30
31 #       ../html/spiderFAQ_en.html: spiderFAQ_en.sgml
32         sgml2html spiderFAQ_en.sgml
33
34 #       ../html/usermanual_en.html: usermanual_en.sgml
35         sgml2html usermanual_en.sgml
36
37 #       ../txt/usermanual_en.txt: usermanual_en.sgml
38         sgml2txt -f usermanual_en.sgml
39
40 #       ../html/spiderCVS_en.html: spiderCVS_en.sgml
41         sgml2html spiderCVS_en.sgml
42
43 #       ../txt/spiderCVS_en.txt: spiderCVS_en.sgml
44         sgml2txt -f spiderCVS_en.sgml
45
46 #       ../html/filtering_en.html: filtering_en.sgml
47         sgml2html filtering_en.sgml
48
49 #       ../txt/filtering_en.txt: filtering_en.sgml
50         sgml2txt -f filtering_en.sgml
51
52         perl -pi.bak -e 's|</HEAD>|<link rel=stylesheet href="style.css" type="text/css" title="default stylesheet">\n</HEAD>|' *.html
53         mv *.html ../html
54         mv *.txt ../txt
55         rm -f *.bak
56         rm -f *cmd.sgml
57