From 934d03e415d1660921d4d47f06b41a8846f37fb5 Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Sun, 16 Feb 1997 22:23:44 +0000 Subject: [PATCH] Bugfixes for HTML output: - use ${MACROS} for macro package and not hard-coded -ms Note: -me is currently not supported by unroff(1). - use only ${SRCS} as input files. --- share/mk/bsd.doc.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/share/mk/bsd.doc.mk b/share/mk/bsd.doc.mk index 9fd8d8032eb7..23a9bb64b3c9 100644 --- a/share/mk/bsd.doc.mk +++ b/share/mk/bsd.doc.mk @@ -54,7 +54,7 @@ PAGES?= 1- UNROFF?= unroff HTML_SPLIT?= yes -UNROFFFLAGS?= -ms -fhtml +UNROFFFLAGS?= -fhtml .if ${HTML_SPLIT} == "yes" UNROFFFLAGS+= split=1 .endif @@ -123,7 +123,8 @@ SRCDIR?= ${.CURDIR} .if !target(${DFILE}) .if ${PRINTERDEVICE} == "html" ${DFILE}: ${SRCS} ${EXTRA} ${OBJS} - cd ${SRCDIR}; ${UNROFF} ${UNROFFFLAGS} document=${DOC} ${.ALLSRC} + cd ${SRCDIR}; ${UNROFF} ${MACROS} ${UNROFFFLAGS} \ + document=${DOC} ${SRCS} .else ${DFILE}:: ${SRCS} ${EXTRA} ${OBJS}