aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/unbound/Makefile.inc
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2018-10-10 08:20:14 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2018-10-10 08:20:14 +0000
commit0ff59c3e99a29d09fd0f1af8354a0487d0e099d0 (patch)
tree4006dfb9c2b77a5bd0c62481eaff221877c058e6 /usr.sbin/unbound/Makefile.inc
parent0eb26fa39ce9e696757d45f2f25a3db0350800c9 (diff)
downloadsrc-0ff59c3e99a29d09fd0f1af8354a0487d0e099d0.tar.gz
src-0ff59c3e99a29d09fd0f1af8354a0487d0e099d0.zip
Improved substitution logic for Unbound man pages.
Approved by: re (kib)
Notes
Notes: svn path=/head/; revision=339277
Diffstat (limited to 'usr.sbin/unbound/Makefile.inc')
-rw-r--r--usr.sbin/unbound/Makefile.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/unbound/Makefile.inc b/usr.sbin/unbound/Makefile.inc
index 433c6cd122a5..cdb1faf5a14f 100644
--- a/usr.sbin/unbound/Makefile.inc
+++ b/usr.sbin/unbound/Makefile.inc
@@ -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}