ermake?

Mark Scandariato mscandar@REDACTED
Fri Jul 23 14:44:31 CEST 2004


Thanks - that works. Here's what I ended up with:

echo '{ok,[[Root]]}=init:get_argument(root), systools:make_tar("'$*'", [{erts, 
Root}]), erlang:halt().' | erl

Mikael Karlsson wrote:
> Sat 17 July 2004 02:36 Mark Scandariato wrote:
> 
>>Whatever happend with ermake? In
>>http://www.erlang.org/ml-archive/erlang-questions/200209/msg00113.html
>>Mickaël Rémond mentioned something about a version 3.
>>
>>Any news? or is 2.0 still the way to go?
>>
>>I just hacked up this makefile - it gets you 80% there or so. You have to
>>make your .app and .rel files by hand and you can't give systools:make_tar
>>any options (at least I couldn't figure out how to), but if you keep
>>everything in the same directory (along with a priv directory) the tar file
>>is as advertised in the docs (with ebin and priv dirs).
> 
> 
> I think you can try something similar to this when passing arguments:
> 
> echo "systools:make_script(\"environ\", [local]), erlang:halt()." | erl
> 
> Mikael



More information about the erlang-questions mailing list