Please add "deps" in the default command for "make" #29
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The recommended default behavior for a Makefile is to build everything, not just one part of the project. The lack of "deps" in the default target means erlang.mk fails to properly build hanoidb when used as a dependency.
Initial report here: https://github.com/ninenines/erlang.mk/issues/163
I can send a patch if you want, I just want to get an OK on this first.
How about this?
@brigadier does this fix your issue?
Hope the tests don't take too long if you put them there. :-)
To take example for GNU for example, the default target only does the building, then all the tests and other checks is done in "check". (Typical process is "make" then "make check" and then "make install") Other standards follow a similar pattern.
I can leave out the tests... They do take a while.
Looks good, thanks!
Took this opportunity to add hanoidb to the erlang.mk index. Now people only need to put "DEPS = hanoidb" in their makefile and to have rebar installed as you don't include it in the repository.