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

Vladimir Dronnikov <>
Fri Aug 16 13:25:20 CEST 2013


I believe
curl -L $(PKG_FILE_URL) >$(PKG_FILE)
is kinda drop-in replacement for
wget -O $(PKG_FILE) $(PKG_FILE_URL)
used in erlang.mk.

Should be tested


On Fri, Aug 16, 2013 at 12:39 PM, Benoit Chesneau <>wrote:

> The big problem with erlang.mk is requiring to have gmake and more
> importantly wget installed imo.
>
> Which makes it quite annoying to distribute on systems that have none of
> them. It would be interrestin to have the support for curl for example.
> Also what are the makefile extensions that you really need to require gmake?
>
> - benoit
>
>
> On Thu, Aug 15, 2013 at 4:19 PM, Loïc Hoguin <> wrote:
>
>> Hello friendly people,
>>
>> I would like to make an official announcement of erlang.mk now that all
>> the features I wanted are in.
>>
>> erlang.mk is a rebar replacement. It was initially created for allowing
>> a faster development process than rebar and for better compatibility with
>> Linux build tools. It should work on Linux and OSX with GNU Make installed.
>>
>> Projects using erlang.mk are still compatible with rebar. Dependencies
>> fetched by rebar are stored in the same deps/ directory, and projects using
>> erlang.mk can still be used as rebar dependencies, with or without a
>> rebar.config file.
>>
>> erlang.mk also features a simple package index. Try `make pkg-list` to
>> list all packages currently available. All the packages listed are
>> compatible with erlang.mk with no tweaking required.
>>
>> Makefiles written with erlang.mk are *VERY* simple, here are two
>> examples:
>>
>>  *  https://github.com/extend/**farwest/blob/master/Makefile<https://github.com/extend/farwest/blob/master/Makefile>
>>  *  https://github.com/extend/**cowboy/blob/master/Makefile<https://github.com/extend/cowboy/blob/master/Makefile>
>>
>> I wrote about erlang.mk and relx recently on the Nine Nines blog.
>> erlang.mk is the perfect companion to relx.
>>
>>  *  http://ninenines.eu/articles/**erlang.mk-and-relx<http://ninenines.eu/articles/erlang.mk-and-relx>
>>
>> Here are examples of projects that are using and compatible with
>> erlang.mk:
>>
>>  *  https://github.com/jlouis/**etorrent<https://github.com/jlouis/etorrent>
>>  *  https://github.com/extend/**cowboy <https://github.com/extend/cowboy>
>>  *  https://github.com/extend/**farwest<https://github.com/extend/farwest>
>>
>> You can find erlang.mk at the following URL:
>>
>>  *  https://github.com/extend/**erlang.mk<https://github.com/extend/erlang.mk>
>>
>> Contributions to the package index are of course welcome! The only
>> requirement is that the package is to be compatible with erlang.mkitself. Just send a PR to the
>> erlang.mk project updating the packages.v1.txt!
>>
>> Enjoy!
>>
>> --
>> Loïc Hoguin
>> Erlang Cowboy
>> Nine Nines
>> http://ninenines.eu
>> ______________________________**_________________
>> erlang-questions mailing list
>> 
>> http://erlang.org/mailman/**listinfo/erlang-questions<http://erlang.org/mailman/listinfo/erlang-questions>
>>
>
>
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130816/8f4a69b4/attachment.html>


More information about the erlang-questions mailing list