Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Oct 2018 08:20:14 +0000 (UTC)
From:      =?UTF-8?Q?Dag-Erling_Sm=c3=b8rgrav?= <des@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r339277 - head/usr.sbin/unbound
Message-ID:  <201810100820.w9A8KEi5076250@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: des
Date: Wed Oct 10 08:20:14 2018
New Revision: 339277
URL: https://svnweb.freebsd.org/changeset/base/339277

Log:
  Improved substitution logic for Unbound man pages.
  
  Approved by:	re (kib)

Modified:
  head/usr.sbin/unbound/Makefile.inc

Modified: head/usr.sbin/unbound/Makefile.inc
==============================================================================
--- head/usr.sbin/unbound/Makefile.inc	Wed Oct 10 08:19:11 2018	(r339276)
+++ head/usr.sbin/unbound/Makefile.inc	Wed Oct 10 08:20:14 2018	(r339277)
@@ -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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810100820.w9A8KEi5076250>