Makefile, make_script and local
Bjorn Gustavsson
bjorn@REDACTED
Fri Oct 31 13:34:19 CET 2003
The way to pass arbitrary options via erlc is to prefix them with '+'.
That is, the following should probably work:
% erlc +native -I myapp-1/ebin myrel.rel
/Bjorn
Gunilla Arendt <gunilla@REDACTED> writes:
> Whoops!
>
> Sorry about my previous reply, I should try to read emails more
> carefully in the future. erlc is of course of no help to you,
> either, as it can't be used to send the 'local' option to
> systools:make_script.
>
> / Gunilla again
>
>
> Jouni Ryno wrote:
> >
> > Hi
> >
> > Is there any hmm. elegant way to make a boot script in a Makefile, when
> > it should get (at least) the local-parameter
> > i.e. I'm looking for something like
> > $ erl -run systools make_sript my_app local
> > It somehow feels ugly to make a wrapper program for just
> > 1> systools:make_script("my_app", [local])...
> >
> > Hmm. an erl-parameter option, which would be handled with string to term
> > would be nice ...
> >
> > regards
> > Jouni
> > --
> > Jouni Ryno <Jouni.Ryno@REDACTED>
> > Finnish Meteorological Institute
>
> --
> _____Gunilla Arendt______________________________________________
> EAB/UKH/KD Erlang/OTP Product Development
> Gunilla.Arendt@REDACTED +46-8-7275730 ecn 851 5730
>
--
Björn Gustavsson Ericsson Utvecklings AB
bjorn@REDACTED ÄT2/UAB/F/P
BOX 1505
+46 8 727 56 87 125 25 Älvsjö
More information about the erlang-questions
mailing list