minor alterations to manuals
[spider.git] / sgml / Makefile
index 1856e10c70d843a9ea2a3637800377475ff3bddd..7bb8a2f4c38dc8596b547131502aec7ed5bb00b0 100644 (file)
@@ -2,23 +2,39 @@
 # Makefile for Ian, 2.1.2001
 #
 
-all:   ../html/adminmanual.html ../txt/adminmanual.txt ../html/spiderFAQ.html ../txt/spiderFAQ.txt
+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
 
 #      ../txt/adminmanual.txt: adminmanual.sgml
-       sgml2txt adminmanual.sgml
-       mv adminmanual.txt ../txt/
+       sgml2txt -f adminmanual.sgml
 
 #      ../html/adminmanual.html: adminmanual.sgml
        sgml2html adminmanual.sgml
-       perl -p -e 's/<BODY>/<BODY BGCOLOR="#ffffff">/' *.html
-       mv admin*.html ../html/ 
+
+#      ../txt/installation.txt: installation.sgml
+       sgml2txt -f installation.sgml
+
+#      ../html/installation.html: installation.html
+       sgml2html installation.sgml
 
 #      ../html/spiderFAQ.html: spiderFAQ.sgml 
        sgml2txt spiderFAQ.sgml
-       mv spid*.txt ../txt
 
 #      ../html/spiderFAQ.html: spiderFAQ.sgml
        sgml2html spiderFAQ.sgml
-       perl -pi.bak -e 's/<BODY>/<BODY BGCOLOR="#ffffff">/' *.html
-       mv spid*.html ../html
+
+#      ../html/usermanual.html: usermanual.sgml
+       sgml2html usermanual.sgml
+
+#      ../txt/usermanual.txt: usermanual.sgml
+       sgml2txt usermanual.sgml
+
+#      ../html/spiderCVS.html: spiderCVS.sgml
+       sgml2html spiderCVS.sgml
+
+#      ../txt/spiderCVS.txt: spiderCVS.sgml
+       sgml2txt spiderCVS.sgml
+
+       perl -pi.bak -e 's|</HEAD>|<link rel=stylesheet href="style.css" type="text/css" title="default stylesheet">\n</HEAD>|' *.html
+       mv *.html ../html
+       mv *.txt ../txt
        rm -f *.bak