git: 9cd89fc5aa3c - main - bsd.man.mk fix staging
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 11 Jan 2026 02:44:50 UTC
The branch main has been updated by sjg:
URL: https://cgit.FreeBSD.org/src/commit/?id=9cd89fc5aa3c0e76375732788fe9d4282d65224f
commit 9cd89fc5aa3c0e76375732788fe9d4282d65224f
Author: Simon J. Gerraty <sjg@FreeBSD.org>
AuthorDate: 2026-01-11 02:44:40 +0000
Commit: Simon J. Gerraty <sjg@FreeBSD.org>
CommitDate: 2026-01-11 02:44:40 +0000
bsd.man.mk fix staging
The STAGE_SETS and STAGE_TARGETS need to match
STAGE_DIR.
For each STAGE_SET we have STAGE_DIR.${STAGE_SET}
and create a target stage_files.${STAGE_SET},
the settings all need to be self consistent to work.
---
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 dde11afb8283..412576eb2fe9 100644
--- a/share/mk/bsd.man.mk
+++ b/share/mk/bsd.man.mk
@@ -252,10 +252,10 @@ _MANLINKS+= ${CATDIR}${_osect}${MANSUBDIR}/${_oname} \
.if defined(${__group}) && !empty(${__group})
.if ${MK_STAGING_MAN} == "yes"
-STAGE_TARGETS+= stage_files.${__group}
_mansets.${__group}:= ${${__group}:E:O:u:M*[1-9]:@s@man$s@}
-STAGE_SETS+= ${_mansets.${__group}}
.for _page in ${${__group}}
+STAGE_SETS+= ${__group}.man${_page:T:E}
+STAGE_TARGETS+= stage_files.${__group}.man${_page:T:E}
stage_files.${__group}.man${_page:T:E}: ${_page}
.if target(${_page}${MCOMPRESS_EXT})
stage_files.${__group}.man${_page:T:E}: ${_page}${MCOMPRESS_EXT}