X-Git-Url: http://scm.dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=sgml%2FMakefile;h=cfffa521767f8a5f0894d0ddff2f1b14606c2a77;hb=7c7080ad7019d6e23a8ad401256122e81fa03a5a;hp=572e6d6d82e5ad155aa3df2946daaa89f5aad077;hpb=378618325d507b738f61bfd7825bd80d593db0bd;p=spider.git diff --git a/sgml/Makefile b/sgml/Makefile index 572e6d6d..cfffa521 100644 --- a/sgml/Makefile +++ b/sgml/Makefile @@ -2,23 +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 -# ../html/spiderFAQ.html: spiderFAQ.sgml - sgml2html spiderFAQ.sgml perl -pi.bak -e 's||\n|' *.html - mv spid*.html ../html + mv *.html ../html + mv *.txt ../txt rm -f *.bak + rm -f *cmd.sgml +