X-Git-Url: http://scm.dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=sgml%2FMakefile;h=1056584a545badd8b78edd37fd9648f88b2167d7;hb=87357f58ecea93ac49f2b2cd894b1e54a4a4035f;hp=f7d745e971f1266f6d4a47a6858b22b644875d26;hpb=b79059a0422dc8594886b86a38925e2e3e978e1d;p=spider.git diff --git a/sgml/Makefile b/sgml/Makefile index f7d745e9..1056584a 100644 --- a/sgml/Makefile +++ b/sgml/Makefile @@ -2,22 +2,50 @@ # Makefile for Ian, 2.1.2001 # -all: ../html/adminmanual.html ../txt/adminmanual.txt ../html/spiderFAQ.html ../txt/spiderFAQ.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 - mv adminmanual.txt ../txt/ +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 - perl -p -e 's/
//' *.html - mv admin*.html ../html/ + # 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 - mv spid*.txt ../txt +# ../txt/adminmanual_en.txt: adminmanual_en.sgml + sgml2txt -f adminmanual_en.sgml + +# ../html/adminmanual_en.html: adminmanual_en.sgml + sgml2html adminmanual_en.sgml + +# ../txt/installation_en.txt: installation_en.sgml + sgml2txt -f installation_en.sgml + +# ../html/installation_en.html: installation_en.html + sgml2html installation_en.sgml + +# ../html/spiderFAQ_en.html: spiderFAQ_en.sgml + sgml2txt spiderFAQ_en.sgml + +# ../html/spiderFAQ_en.html: spiderFAQ_en.sgml + sgml2html spiderFAQ_en.sgml + +# ../html/usermanual_en.html: usermanual_en.sgml + sgml2html usermanual_en.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||\n|' *.html + mv *.html ../html + mv *.txt ../txt + rm -f *.bak + rm -f *cmd.sgml -# ../html/spiderFAQ.html: spiderFAQ.sgml - sgml2html spiderFAQ.sgml - perl -p -e 's///' *.html - mv spid*.html ../html