mirror of
https://git.freebsd.org/src.git
synced 2026-01-11 19:57:22 +00:00
bsd.man.mk simplify staging
Some checks are pending
Cross-build Kernel / amd64 ubuntu-22.04 (clang-15) (push) Waiting to run
Cross-build Kernel / aarch64 ubuntu-22.04 (clang-15) (push) Waiting to run
Cross-build Kernel / amd64 ubuntu-24.04 (clang-18) (push) Waiting to run
Cross-build Kernel / aarch64 ubuntu-24.04 (clang-18) (push) Waiting to run
Cross-build Kernel / amd64 macos-latest (clang-18) (push) Waiting to run
Cross-build Kernel / aarch64 macos-latest (clang-18) (push) Waiting to run
Some checks are pending
Cross-build Kernel / amd64 ubuntu-22.04 (clang-15) (push) Waiting to run
Cross-build Kernel / aarch64 ubuntu-22.04 (clang-15) (push) Waiting to run
Cross-build Kernel / amd64 ubuntu-24.04 (clang-18) (push) Waiting to run
Cross-build Kernel / aarch64 ubuntu-24.04 (clang-18) (push) Waiting to run
Cross-build Kernel / amd64 macos-latest (clang-18) (push) Waiting to run
Cross-build Kernel / aarch64 macos-latest (clang-18) (push) Waiting to run
We actually only need the high level targets stage_files and stage_links meta.stage.mk will take care of the details.
This commit is contained in:
parent
9cd89fc5aa
commit
9fed072b44
1 changed files with 2 additions and 2 deletions
|
|
@ -252,10 +252,10 @@ _MANLINKS+= ${CATDIR}${_osect}${MANSUBDIR}/${_oname} \
|
|||
|
||||
.if defined(${__group}) && !empty(${__group})
|
||||
.if ${MK_STAGING_MAN} == "yes"
|
||||
STAGE_TARGETS+= stage_files
|
||||
_mansets.${__group}:= ${${__group}:E:O:u:M*[1-9]:@s@man$s@}
|
||||
.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}
|
||||
|
|
@ -263,8 +263,8 @@ stage_files.${__group}.man${_page:T:E}: ${_page}${MCOMPRESS_EXT}
|
|||
STAGE_DIR.${__group}.man${_page:T:E}?= ${STAGE_OBJTOP}${MANDIR}${_page:T:E}${MANSUBDIR}
|
||||
.endfor
|
||||
.if !defined(NO_MLINKS) && !empty(${__group}LINKS)
|
||||
STAGE_TARGETS+= stage_links
|
||||
STAGE_SETS+= mlinks.${__group}
|
||||
STAGE_TARGETS+= stage_links.${__group}
|
||||
STAGE_LINKS.mlinks.${__group}:= ${${__group}LINKS:M*.[1-9]:@f@${f:S,^,${MANDIR}${f:E}${MANSUBDIR}/,}@}
|
||||
stage_links.mlinks.${__group}: ${_mansets.${__group}:@s@stage_files.${__group}.$s@}
|
||||
.endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue