- sgml-format -T html ir-tcl | prehtml | fixref >tmp.html
- sgml-format -T html ir-tcl | prehtml >>tmp.html
- html2html ir-tcl <tmp.html >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@^<BODY>@<!--#include virtual="top.shtml"-->@' | \
+ sed -e 's@^</BODY>@<!--#include virtual="bottom.shtml"-->@' >$$out; \
+ done