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:
parent
28ebf21479
commit
934d03e415
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user