diff options
author | Andreas Stenius <[email protected]> | 2015-03-26 14:33:47 +0100 |
---|---|---|
committer | Andreas Stenius <[email protected]> | 2015-03-26 14:34:11 +0100 |
commit | a963e58cd0b0e3fe5026906cfb3649e8a3d5ef23 (patch) | |
tree | 39ebf67e4a5ad9dc6b70fc50bde31c9cb7be3a40 /core/deps.mk | |
parent | b23a88ada3ad9d38bdc90c1f080fd1ffe396703b (diff) | |
download | erlang.mk-a963e58cd0b0e3fe5026906cfb3649e8a3d5ef23.tar.gz erlang.mk-a963e58cd0b0e3fe5026906cfb3649e8a3d5ef23.tar.bz2 erlang.mk-a963e58cd0b0e3fe5026906cfb3649e8a3d5ef23.zip |
Require makefile to build dep. Fixes #218.
Diffstat (limited to 'core/deps.mk')
-rw-r--r-- | core/deps.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/deps.mk b/core/deps.mk index 74bc30b..879cf43 100644 --- a/core/deps.mk +++ b/core/deps.mk @@ -37,7 +37,8 @@ deps:: $(ALL_DEPS_DIRS) if [ -f $$dep/GNUmakefile ] || [ -f $$dep/makefile ] || [ -f $$dep/Makefile ] ; then \ $(MAKE) -C $$dep ; \ else \ - echo "include $(CURDIR)/erlang.mk" | ERLC_OPTS=+debug_info $(MAKE) -f - -C $$dep ; \ + echo "ERROR: No makefile to build dependency $$dep. Consider adding it to AUTOPATCH." ; \ + exit 1 ; \ fi ; \ done |