Browse Source

FreeBSD uses bmake as make program, so we need to add call to gmake here.

Alexandre Snarskii 11 years ago
parent
commit
1af6f8eaae
1 changed files with 1 additions and 0 deletions
  1. 1 0
      rebar.config

+ 1 - 0
rebar.config

@@ -11,6 +11,7 @@
 
 
 {pre_hooks,
 {pre_hooks,
  [{compile, "make -C $REBAR_DEPS_DIR/merl all"},
  [{compile, "make -C $REBAR_DEPS_DIR/merl all"},
+  {"freebsd", compile, "gmake -C $REBAR_DEPS_DIR/merl all"},
   {eunit,
   {eunit,
    "erlc -I include/erlydtl_preparser.hrl -o test"
    "erlc -I include/erlydtl_preparser.hrl -o test"
    " test/erlydtl_extension_testparser.yrl"}
    " test/erlydtl_extension_testparser.yrl"}