[erlang-questions] [ANN] erlang.mk build tool

Loïc Hoguin essen@REDACTED
Thu Aug 15 18:32:04 CEST 2013


On 08/15/2013 05:07 PM, Motiejus Jakštys wrote:
> On Thu, Aug 15, 2013 at 4:19 PM, Loïc Hoguin <essen@REDACTED> wrote:
>> Hello friendly people,
>>
>> I would like to make an official announcement of erlang.mk now that all the
>> features I wanted are in.
>
> Please include an ability to cleanly override any target so make does
> not emit warnings about overwritten target. There are a few ways to do
> it, but I find this the easiest: prefix every target in erlang.mk with
> a variable:
>
> $(.erlang-mk-all)all:
>    <your stuff>
>
> That way, if $(.erlang-mk-all) is defined (from my application
> Makefile before including erlang.mk), your 'all' target will be the
> one that does not cause me warnings.

Yes I was thinking about this, but so far nobody needed it. If you do, 
though, patches welcome!

-- 
Loïc Hoguin
Erlang Cowboy
Nine Nines
http://ninenines.eu



More information about the erlang-questions mailing list