mirror of
https://git.freebsd.org/src.git
synced 2026-01-11 19:57:22 +00:00
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.
This commit is contained in:
parent
68562f8145
commit
9cd89fc5aa
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.${__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}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue