projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
amend index.html for the correct manual names
[spider.git]
/
sgml
/
Makefile
diff --git
a/sgml/Makefile
b/sgml/Makefile
index 0bc764bfa920005615c2ee2c5452d8000279a0b8..1056584a545badd8b78edd37fd9648f88b2167d7 100644
(file)
--- a/
sgml/Makefile
+++ b/
sgml/Makefile
@@
-2,39
+2,50
@@
# Makefile for Ian, 2.1.2001
#
# Makefile for Ian, 2.1.2001
#
-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 ../html/spiderCVS.html ../txt/spiderCVS.txt
+all:
sgml ../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
+sgml: ../cmd/Commands_en.hlp adminmanual.sgml usermanual.sgml
+ # Create the admin manual sgml file
+ cat ../cmd/Commands_en.hlp | ./commands2sgml.pl 8 > ./adminmanual-cmd.sgml
+ cat adminmanual.sgml adminmanual-cmd.sgml > ./adminmanual_en.sgml
-# ../html/adminmanual.html: adminmanual.sgml
- sgml2html adminmanual.sgml
+ # Create the user manual sgml file
+ cat ../cmd/Commands_en.hlp | ./commands2sgml.pl > usermanual-cmd.sgml
+ cat usermanual.sgml usermanual-cmd.sgml > usermanual_en.sgml
-# ../
html/spiderFAQ.html: spiderFAQ.sgml
- sgml2txt
spiderFAQ
.sgml
+# ../
txt/adminmanual_en.txt: adminmanual_en.sgml
+ sgml2txt
-f adminmanual_en
.sgml
-# ../html/
spiderFAQ.html: spiderFAQ
.sgml
- sgml2html
spiderFAQ
.sgml
+# ../html/
adminmanual_en.html: adminmanual_en
.sgml
+ sgml2html
adminmanual_en
.sgml
-# ../
html/usermanual.html: usermanual
.sgml
- sgml2
html usermanual
.sgml
+# ../
txt/installation_en.txt: installation_en
.sgml
+ sgml2
txt -f installation_en
.sgml
-# ../
txt/usermanual.txt: usermanual.sg
ml
- sgml2
txt usermanual
.sgml
+# ../
html/installation_en.html: installation_en.ht
ml
+ sgml2
html installation_en
.sgml
-# ../html/
wininstallation.html: wininstallation.sgml
- sgml2
html wininstallatio
n.sgml
+# ../html/
spiderFAQ_en.html: spiderFAQ_en.sgml
+ sgml2
txt spiderFAQ_e
n.sgml
-# ../
txt/winistallation.txt: wininstallatio
n.sgml
- sgml2
txt -f wininstallatio
n.sgml
+# ../
html/spiderFAQ_en.html: spiderFAQ_e
n.sgml
+ sgml2
html spiderFAQ_e
n.sgml
-# ../html/
spiderCVS.html: spiderCVS
.sgml
- sgml2html
spiderCVS
.sgml
+# ../html/
usermanual_en.html: usermanual_en
.sgml
+ sgml2html
usermanual_en
.sgml
-# ../txt/spiderCVS.txt: spiderCVS.sgml
- sgml2txt spiderCVS.sgml
+# ../txt/usermanual_en.txt: usermanual_en.sgml
+ sgml2txt usermanual_en.sgml
+
+# ../html/spiderCVS_en.html: spiderCVS_en.sgml
+ sgml2html spiderCVS_en.sgml
+
+# ../txt/spiderCVS_en.txt: spiderCVS_en.sgml
+ sgml2txt spiderCVS_en.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
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
+ rm -f *cmd.sgml
+