Skip to content

Commit

Permalink
build: Generate manual pages with DiscoBSD as OS name.
Browse files Browse the repository at this point in the history
Set the operating system name in manual pages generated for DiscoBSD
by overriding the default host OS name with the mandoc -Ios option.

The ${MANROFF} variable in the system Makefile is now set to
  mandoc -Tascii -Ios="DiscoBSD ${OSREV}"
and sets the mdoc .Os macro or man .TH macro if not already set in
the source file by another operating system macro, e.g., ".UC 6".
  • Loading branch information
chettrick committed Feb 19, 2024
1 parent 7e02c06 commit 890bf1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion share/mk/sys.mk
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ INSTALL= ${TOOLBINDIR}/binstall -U
TAGSFILE= tags

#MANROFF= nroff -man -h -Tascii
MANROFF= mandoc -Tascii
MANROFF= mandoc -Tascii -Ios="DiscoBSD ${OSREV}"

ELF2AOUT= ${TOOLBINDIR}/elf2aout

Expand Down

0 comments on commit 890bf1c

Please sign in to comment.