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.
This commit is contained in:
Wolfram Schneider 1997-02-16 22:23:44 +00:00
parent 28ebf21479
commit 934d03e415
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=22811

View File

@ -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}