X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=sgml%2FMakefile;h=cfffa521767f8a5f0894d0ddff2f1b14606c2a77;hb=refs%2Fheads%2Fnew-spawn;hp=f7d745e971f1266f6d4a47a6858b22b644875d26;hpb=b79059a0422dc8594886b86a38925e2e3e978e1d;p=spider.git diff --git a/sgml/Makefile b/sgml/Makefile index f7d745e9..cfffa521 100644 --- a/sgml/Makefile +++ b/sgml/Makefile @@ -2,22 +2,56 @@ # Makefile for Ian, 2.1.2001 # -all: ../html/adminmanual.html ../txt/adminmanual.txt ../html/spiderFAQ.html ../txt/spiderFAQ.txt +all: sgml ../html/adminmanual_en.html ../txt/adminmanual_en.txt ../html/installation_en.html ../txt/installation_en.txt ../html/spiderFAQ_en.html ../txt/spiderFAQ_en.txt ../html/usermanual_en.html ../txt/usermanual_en.txt ../html/spiderCVS_en.html ../txt/spiderCVS_en.txt ../html/filtering_en.html ../txt/filtering_en.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 9 > ./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 -f 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 -f usermanual_en.sgml + +# ../html/spiderCVS_en.html: spiderCVS_en.sgml + sgml2html spiderCVS_en.sgml + +# ../txt/spiderCVS_en.txt: spiderCVS_en.sgml + sgml2txt -f spiderCVS_en.sgml + +# ../html/filtering_en.html: filtering_en.sgml + sgml2html filtering_en.sgml + +# ../txt/filtering_en.txt: filtering_en.sgml + sgml2txt -f filtering_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