Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Aug 2015 18:55:43 +0300
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        Mathieu Arnold <mat@FreeBSD.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r394782 - head/games/dangen
Message-ID:  <20150819155543.GB42382@hades.panopticon>
In-Reply-To: <BC758709A8CCB114B14581F0@atuin.in.mat.cc>
References:  <201508191358.t7JDw7aV062421@repo.freebsd.org> <BC758709A8CCB114B14581F0@atuin.in.mat.cc>

next in thread | previous in thread | raw e-mail | index | archive | help
* Mathieu Arnold (mat@FreeBSD.org) wrote:
> +--On 19 août 2015 13:58:07 +0000 Dmitry Marakasov <amdmi3@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@amdmi3.ru  ..:  jabber: amdmi3@jabber.ru      http://amdmi3.ru



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150819155543.GB42382>