Watchout for bogus MAN

This commit is contained in:
sjg 2015-06-08 23:32:27 +00:00
parent 578bc7737e
commit a147866eaa

View File

@ -129,7 +129,7 @@ ZEXT= ${MCOMPRESS_EXT}
.if defined(MAN) && !empty(MAN)
.if ${MK_STAGING_MAN} == "yes"
staging: stage_files
_mansets:= ${MAN:E:O:u:@s@man$s@}
_mansets:= ${MAN:E:O:u:M*[1-9]:@s@man$s@}
STAGE_SETS+= ${_mansets}
.for _page in ${MAN}
stage_files.man${_page:T:E}: ${_page}