Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Aug 2025 16:18:40 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: eb027d66489b - main - bsd.man.mk: Handle manual pages with colons for the manlint target
Message-ID:  <202508071618.577GIeH0039096@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=eb027d66489b9a0e6c3b51455e61ac26c1dce497

commit eb027d66489b9a0e6c3b51455e61ac26c1dce497
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2025-08-07 16:18:05 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2025-08-07 16:18:05 +0000

    bsd.man.mk: Handle manual pages with colons for the manlint target
    
    Fixes:          ec1656181790 ("bsd.man.mk: Support manual pages with colons in the filename")
    Sponsored by:   Chelsio Communications
---
 share/mk/bsd.man.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/share/mk/bsd.man.mk b/share/mk/bsd.man.mk
index b21522796845..f44048b4e453 100644
--- a/share/mk/bsd.man.mk
+++ b/share/mk/bsd.man.mk
@@ -291,8 +291,8 @@ manlinksinstall-${__group}:
 manlint:
 .if defined(${__group}) && !empty(${__group})
 .for __page in ${${__group}}
-manlint: ${__page}lint
-${__page}lint: ${__page}
+manlint: ${__page:S/:/\:/g}lint
+${__page:S/:/\:/g}lint: ${__page}
 .if defined(MANFILTER)
 	${MANFILTER} < ${.ALLSRC} | ${MANDOC_CMD} -Tlint
 .else



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