--- a/Makefile.in
+++ b/Makefile.in
@@ -763,7 +763,7 @@
 
 .8.8.html:
 	@rm -f $@
-	($(TBL) $< | $(NROFF) -mdoc2html > $@) || (rm -f $@; exit 1)
+	($(TBL) $< | $(NROFF) -mhtml > $@) || (rm -f $@; exit 1)
 
 .5.5.ps:
 	@rm -f $@
@@ -771,7 +771,7 @@
 
 .5.5.html:
 	@rm -f $@
-	($(TBL) $< | $(NROFF) -mdoc2html > $@) || (rm -f $@; exit 1)
+	($(TBL) $< | $(NROFF) -mhtml > $@) || (rm -f $@; exit 1)
 
 .cat5.cat5-dist:
 	@rm -f $@
