X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=doc%2FMakefile;h=842093e575553c618c613cf1b0ce523d67c45e83;hb=ad7493cd1a0ab49f7c7d60171efc693cb3136a2d;hp=1457cd1f359fba6d77983a7b5b4592d4f009f0df;hpb=b0557732bde1ceb68d400fae6d570413eb666486;p=ir-tcl-moved-to-github.git diff --git a/doc/Makefile b/doc/Makefile index 1457cd1..842093e 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,22 +1,29 @@ -# $Id: Makefile,v 1.2 1995-05-31 08:37:01 adam Exp $ -all: -tcl.ps ir-tcl.txt +# $Id: Makefile,v 1.7 1999-02-11 10:57:20 adam Exp $ +all: ir-tcl.ps ir-tcl.txt ir-tcl.html ir-tcl.txt: ir-tcl.sgml - sgml-format -T nroff ir-tcl| qroff >ir-tcl.txt - -ir-tcl.dvi: ir-tcl.sgml - sgml-format ir-tcl| qtex -d >ir-tcl.dvi + sgml2txt ir-tcl.sgml ir-tcl.ps: ir-tcl.sgml - sgml-format ir-tcl| qtex -x - mv out.ps ir-tcl.ps + sgml2latex --output=ps ir-tcl + +ir-tcl.dvi: ir-tcl.tex + sgml2latex --output=dvi ir-tcl + +ir-tcl.tex: ir-tcl.sgml + sgml2latex --output=tex ir-tcl ir-tcl.html: ir-tcl.sgml - sgml-format -T html ir-tcl | prehtml | fixref >tmp.html - sgml-format -T html ir-tcl | prehtml >>tmp.html - html2html ir-tcl ir-tcl.html - rm tmp.html + sgml2html ir-tcl + +ir-tcl.shtml: ir-tcl.html + for f in ir-tcl*.html; do \ + out=`echo $$f | sed -e 's/.html/.shtml/'`; \ + sed -e 's@\(ir-tcl.*\).html@\1.shtml@' $$f | \ + sed -e 's@^@@' | \ + sed -e 's@^@@' >$$out; \ + done clean: - rm -f [0-9]* *.bak + rm -f [0-9]* *.bak *.aux *.tex *.ps *.dvi *.html *.shtml