Improved substitution logic for Unbound man pages.

Approved by:	re (kib)
This commit is contained in:
Dag-Erling Smørgrav 2018-10-10 08:20:14 +00:00
parent 0eb26fa39c
commit 0ff59c3e99
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=339277

View File

@ -7,8 +7,8 @@ PACKAGE= unbound
.for man in ${MAN}
${man}: ${UNBOUNDDIR}/doc/${man:S/local-//}
sed -E \
-e 's/\<(fI)?unbound\>/\1local-unbound/g' \
-e 's/\<(fI)?Unbound\>/Local-unbound/g' \
-e 's/\<(fI)?u(nbound\>[^.])/\1local-u\2/g' \
-e 's/\<(fI)?U(nbound\>[^.])/\1Local-u\2/g' \
-e 's/\/local-unbound/\/unbound/g' \
<${.ALLSRC} >${.TARGET}
CLEANFILES += ${man}