Bug fix.
[ir-tcl-moved-to-github.git] / doc / Makefile
index 65accec..95e11bd 100644 (file)
@@ -1,5 +1,5 @@
-# $Id: Makefile,v 1.1 1995-05-30 10:59:20 adam Exp $
-all: -tcl.ps ir-tcl.txt
+# $Id: Makefile,v 1.3 1995-05-31 13:13: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
@@ -11,6 +11,12 @@ ir-tcl.ps: ir-tcl.sgml
        sgml-format ir-tcl| qtex -x
        mv out.ps ir-tcl.ps
 
+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 <tmp.html >ir-tcl.html
+       rm tmp.html
+
 clean:
        rm -f [0-9]* *.bak