8024ef460abdf1dfccc6ce19a9054557d67f1e96
[spider.git] / sgml / Makefile
1 #
2 # Makefile for Ian, 2.1.2001
3 #
4
5 all:    ../html/adminmanual.html ../txt/adminmanual.txt ../html/spiderFAQ.html ../txt/spiderFAQ.txt ../html/usermanual.html ../txt/usermanual.txt ../html/wininstallation.html ../txt/wininstallation.txt
6
7 #       ../txt/adminmanual.txt: adminmanual.sgml
8         sgml2txt adminmanual.sgml
9
10 #       ../html/adminmanual.html: adminmanual.sgml
11         sgml2html adminmanual.sgml
12
13 #       ../html/spiderFAQ.html: spiderFAQ.sgml 
14         sgml2txt spiderFAQ.sgml
15
16 #       ../html/spiderFAQ.html: spiderFAQ.sgml
17         sgml2html spiderFAQ.sgml
18
19 #       ../html/usermanual.html: usermanual.sgml
20         sgml2html usermanual.sgml
21
22 #       ../txt/usermanual.txt: usermanual.sgml
23         sgml2txt usermanual.sgml
24
25 #       ../html/wininstallation.html: wininstallation.sgml
26         sgml2html wininstallation.sgml
27
28 #       ../txt/winistallation.txt: wininstallation.sgml
29         sgml2txt -f wininstallation.sgml
30
31         perl -pi.bak -e 's|</HEAD>|<link rel=stylesheet href="style.css" type="text/css" title="default stylesheet">\n</HEAD>|' *.html
32         mv *.html ../html
33         mv *.txt ../txt
34         rm -f *.bak