git: eb027d66489b - main - bsd.man.mk: Handle manual pages with colons for the manlint target
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 07 Aug 2025 16:18:40 UTC
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