diff Makefile @ 404:6c0c9159744d

Move the manual pages for the periodic scripts into man secition 5
author Franz Glasner <fzglas.hg@dom66.de>
date Sat, 25 Feb 2023 16:37:01 +0100
parents def510fe4e31
children baa039348277
line wrap: on
line diff
--- a/Makefile	Sat Feb 25 16:20:21 2023 +0100
+++ b/Makefile	Sat Feb 25 16:37:01 2023 +0100
@@ -27,6 +27,7 @@
 
 SRC=		${.CURDIR}
 
+MANPAGES5=	${:!${LS} -1 "${.CURDIR}/docs/man/man5"!}
 MANPAGES8=	${:!${LS} -1 "${.CURDIR}/docs/man/man8"!}
 
 HGCANONICALPATH?=	default
@@ -85,6 +86,9 @@
 .endfor
 
 post-install-DOCS-on:
+.for _mp in ${MANPAGES5:R}
+	${INSTALL_DATA} ${WRKSRC}/docs/_build/man/${_mp}.5 ${STAGEDIR}${PREFIX}/man/man5/${_mp}.5
+.endfor
 .for _mp in ${MANPAGES8:R}
 	${INSTALL_DATA} ${WRKSRC}/docs/_build/man/${_mp}.8 ${STAGEDIR}${PREFIX}/man/man8/${_mp}.8
 .endfor