Closed triaxx closed 3 years ago
Hi @triaxx, many thanks for your contribution!
In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes.
You did it @triaxx!
Thank you for signing the ProcessOne Contribution License Agreement.
We will have a look at your contribution!
Hi!
I guess this is useful for building it with rebar3.
And I guess this same change would be suggested for many other libraries which Makefile say explicitely "rebar", right now, right? I found: cache_tab, ezlib, fast_tls, fast_xml, fast_yaml, p1_utils, pkix, stringprep, stun, xmpp.
While checking, I noticed other libraries have it already parametrized, for example yconf https://github.com/processone/yconf/blob/aba6e0bb5d274482caf5447c77d71b50c9418026/Makefile#L1
REBAR=./rebar
Following the reasoning of this PR, I guess it would be preferable those assignments to be changed from "=" to "?=", right?
Right!
Define the REBAR variable by a conditional assignment doesn't change the behavior of this Makefile but allows a package manager to explicity set the full path of the rebar binary.