svn commit: r394782 - head/games/dangen
Dmitry Marakasov
amdmi3 at amdmi3.ru
Wed Aug 19 15:59:35 UTC 2015
* Mathieu Arnold (mat at FreeBSD.org) wrote:
> +--On 19 août 2015 13:58:07 +0000 Dmitry Marakasov <amdmi3 at FreeBSD.org>
> wrote:
> |
> | -.include <bsd.port.options.mk>
> | -
> | post-install:
> | -.if ${PORT_OPTIONS:MDOCS}
> | ${MKDIR} ${STAGEDIR}${DOCSDIR}
> | ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/
> | -.endif
>
> This bit was not part of the commit message, which is bad :-)
I thought of it as too minor to mention.
> Having said that, you can now use the post-install-DOCS-on target in there,
> it will only run when the DOCS option is enabled.
Oh, thanks for reminding! I guess I'll adopt more of that in my
ports. Could you suggest a meaningful commit message for such
changes? "Use conditional targets"?
--
Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D
amdmi3 at amdmi3.ru ..: jabber: amdmi3 at jabber.ru http://amdmi3.ru
More information about the svn-ports-all
mailing list