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