X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=sgml%2FMakefile;h=1056584a545badd8b78edd37fd9648f88b2167d7;hb=0fcb7df9b5f6b17605f07d965e71d8bc4dee09a0;hp=7bb8a2f4c38dc8596b547131502aec7ed5bb00b0;hpb=8b3550e37fbfc539cdd10472d10f92ae0135f4b7;p=spider.git diff --git a/sgml/Makefile b/sgml/Makefile index 7bb8a2f4..1056584a 100644 --- a/sgml/Makefile +++ b/sgml/Makefile @@ -2,39 +2,50 @@ # Makefile for Ian, 2.1.2001 # -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 +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 -f 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 -# ../txt/installation.txt: installation.sgml - sgml2txt -f installation.sgml +# ../txt/adminmanual_en.txt: adminmanual_en.sgml + sgml2txt -f adminmanual_en.sgml -# ../html/installation.html: installation.html - sgml2html installation.sgml +# ../html/adminmanual_en.html: adminmanual_en.sgml + sgml2html adminmanual_en.sgml -# ../html/spiderFAQ.html: spiderFAQ.sgml - sgml2txt spiderFAQ.sgml +# ../txt/installation_en.txt: installation_en.sgml + sgml2txt -f installation_en.sgml -# ../html/spiderFAQ.html: spiderFAQ.sgml - sgml2html spiderFAQ.sgml +# ../html/installation_en.html: installation_en.html + sgml2html installation_en.sgml -# ../html/usermanual.html: usermanual.sgml - sgml2html usermanual.sgml +# ../html/spiderFAQ_en.html: spiderFAQ_en.sgml + sgml2txt spiderFAQ_en.sgml -# ../txt/usermanual.txt: usermanual.sgml - sgml2txt usermanual.sgml +# ../html/spiderFAQ_en.html: spiderFAQ_en.sgml + sgml2html spiderFAQ_en.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||\n|' *.html mv *.html ../html mv *.txt ../txt rm -f *.bak + rm -f *cmd.sgml +