Date: Sun, 31 May 2015 03:13:25 +0000 (UTC) From: "Simon J. Gerraty" <sjg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r283802 - projects/bmake/share/mk Message-ID: <201505310313.t4V3DPsE018636@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sjg Date: Sun May 31 03:13:24 2015 New Revision: 283802 URL: https://svnweb.freebsd.org/changeset/base/283802 Log: Stage man pages. Modified: projects/bmake/share/mk/bsd.man.mk Modified: projects/bmake/share/mk/bsd.man.mk ============================================================================== --- projects/bmake/share/mk/bsd.man.mk Sun May 31 02:21:35 2015 (r283801) +++ projects/bmake/share/mk/bsd.man.mk Sun May 31 03:13:24 2015 (r283802) @@ -127,6 +127,20 @@ _manpages: ${MAN} ZEXT= ${MCOMPRESS_EXT} .if defined(MAN) && !empty(MAN) +.if ${MK_STAGING} +staging: stage_files +_mansets:= ${MAN:E:O:u:@s@man$s@} +STAGE_SETS+= ${_mansets} +.for _page in ${MAN} +stage_files.man${_page:T:E}: ${_page} +STAGE_DIR.man${_page:T:E}?= ${STAGE_OBJTOP}${MANDIR}${_page:T:E}${MANSUBDIR} +.endfor +.if !empty(MLINKS) +staging: stage_links +STAGE_LINKS.${_mansets:[1]} := ${MLINKS:S,^,${MANDIR}${_mansets:[1]:S,man,,}${MANSUBDIR}/,} +.endif +.endif + CLEANFILES+= ${MAN:T:S/$/${MCOMPRESS_EXT}/g} CLEANFILES+= ${MAN:T:S/$/${CATEXT}${MCOMPRESS_EXT}/g} .for __page in ${MAN}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505310313.t4V3DPsE018636>