Browse files


  • Loading branch information...
1 parent cc9500d commit 703e41e7f8730ede88fd766629fa752859458683 root committed Oct 19, 2008
Showing with 22 additions and 1 deletion.
  1. +22 −1
@@ -1,2 +1,23 @@
-#! /bin/sh
+ERLIB=$(erl -noshell -eval 'io:format(code:lib_dir()).' -s erlang halt)
+YAWS=$(ls $ERLIB | grep yaws)
+cat >Emakefile <<EOF
+{"src/erlyweb/*", [debug_info, {outdir, "ebin"},
+{"src/erlydb/*", [debug_info, {outdir, "ebin"}]}.
+{"src/erlsql/*", [debug_info, {outdir, "ebin"}]}.
+{"src/erltl/*", [debug_info, {outdir, "ebin"}]}.
+{"src/smerl/*", [debug_info, {outdir, "ebin"}]}.
+{"src/erlang-mysql-driver/*", [debug_info, {outdir, "ebin"}]}.
+{"src/erlang-psql-driver/*", [debug_info, strict_record_tests, {outdir,
+# bash check if directory exists
+if [ ! -d $ebin_dir ]; then
+ mkdir $ebin_dir
erl -noshell -eval 'make:all(), filelib:fold_files("src/", ".+\.et$", true, fun(F, _Acc) -> erltl:compile(F, [{outdir, "ebin"}, debug_info, show_errors, show_warnings]) end, []).' -pa ebin -s erlang halt

0 comments on commit 703e41e

Please sign in to comment.