Makefile, make_script and local

Jouni Rynö Jouni.Ryno@REDACTED
Fri Oct 31 14:05:24 CET 2003


so it does:

$ erlc +local +exref -I ebin/ -o ebin/ ebin/db_app.rel



On Fri, 2003-10-31 at 14:34, Bjorn Gustavsson wrote:
> 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
> > 
-- 

  Jouni Rynö                            mailto://Jouni.Ryno@fmi.fi/
                                        http://www.geo.fmi.fi/~ryno/
  Finnish Meteorological Institute      http://www.fmi.fi/
  Geophysical Research                  http://www.geo.fmi.fi/
  P.O.BOX 503                           Tel      (+358)-9-19294656
  FIN-00101 Helsinki                    FAX      (+358)-9-19294603
  Finland                               priv-GSM (+358)-50-5302903
  
  "It's just zeros and ones, it cannot be hard"








More information about the erlang-questions mailing list