diff Makefile @ 291:f2b4edf5f6a3

Docs: read the version from the Makefile
author Franz Glasner <fzglas.hg@dom66.de>
date Sun, 18 Sep 2022 12:04:00 +0200
parents 7508d9a9cf49
children 73ac6bec36fe
line wrap: on
line diff
--- a/Makefile	Sun Sep 18 11:10:39 2022 +0200
+++ b/Makefile	Sun Sep 18 12:04:00 2022 +0200
@@ -37,6 +37,7 @@
 do-extract:
 	${MKDIR} ${WRKSRC}/bin
 	${MKDIR} ${WRKSRC}/sbin
+	${CP} Makefile ${WRKSRC}/Makefile
 .for _rp in sbin/check-ports sbin/fjail sbin/ftjail sbin/fzfs sbin/fpkg sbin/bsmtp2dma
 	${CP} -v ${SRC}/${_rp} ${WRKSRC}/${_rp}
 	${SED} -i "" -E -e "s|\\\$$Date\\\$$|\$$Date: ${HGDATE} \$$|" ${WRKSRC}/${_rp}