Makefile and Erlang
Vance Shipley
vances@REDACTED
Thu Feb 15 18:11:19 CET 2001
I wrote:
> This is what I use in our Makefile (abreviated version attached):
>
> %.tar.gz: all %.boot
> erl -noshell -s systools make_script $* -s erlang halt
> erl -noshell -s systools make_tar $* -s erlang halt
>
> I use it as:
>
> $ make January2001.tar.gz
>
> where I have a release file named January2001.rel
I've been trying to get this work but I'm left with one odd little
problem. The resulting tar file is missing the .rel file.
The interesting thing is if I fire up erl it works:
Eshell V5.0.1.1 (abort with ^G)
1> systools:make_tar("February2001").
ok
$ gunzip -c February2001.tar.gz | tar tvf -
...
-rw-rw-r-- 501/501 206 2001-02-14 18:29:13 releases/February2001.rel
There is something quite odd going on here.
-Vance
More information about the erlang-questions
mailing list