mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-16 23:57:54 +01:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=22811
@ -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