X-Git-Url: http://www.dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=sgml%2FMakefile;h=8ef3b3212cb08cdb8c0f63269c691f1e58a0d7c4;hb=90a05bee744c82d66ffdd0a0548b2ae97d7dfb56;hp=e69de29bb2d1d6434b8b29ae775ad8c2e48c5391;hpb=564548091fc1c40f493d4bcdc104a4ce3b2ded51;p=spider.git diff --git a/sgml/Makefile b/sgml/Makefile index e69de29b..8ef3b321 100644 --- a/sgml/Makefile +++ b/sgml/Makefile @@ -0,0 +1,51 @@ +# +# Makefile for Ian, 2.1.2001 +# + +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 + +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 + + # 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/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 +