From c148e886257b695d8c61a4aaf10aee3cf4a770d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Tue, 29 Sep 2015 15:13:27 +0200 Subject: Improve a few comments and messages --- core/core.mk | 1 - core/deps.mk | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'core') diff --git a/core/core.mk b/core/core.mk index 1d0012d..407b940 100644 --- a/core/core.mk +++ b/core/core.mk @@ -178,7 +178,6 @@ core_find = $(if $(wildcard $1),$(shell find $(1:%/=%) -type f -name $(subst *,\ core_lc = $(subst A,a,$(subst B,b,$(subst C,c,$(subst D,d,$(subst E,e,$(subst F,f,$(subst G,g,$(subst H,h,$(subst I,i,$(subst J,j,$(subst K,k,$(subst L,l,$(subst M,m,$(subst N,n,$(subst O,o,$(subst P,p,$(subst Q,q,$(subst R,r,$(subst S,s,$(subst T,t,$(subst U,u,$(subst V,v,$(subst W,w,$(subst X,x,$(subst Y,y,$(subst Z,z,$(1))))))))))))))))))))))))))) -# @todo On Windows: $(shell dir /B $(1)); make sure to handle when no file exists. core_ls = $(filter-out $(1),$(shell echo $(1))) # @todo Use a solution that does not require using perl. diff --git a/core/deps.mk b/core/deps.mk index 6a14114..00cc05f 100644 --- a/core/deps.mk +++ b/core/deps.mk @@ -61,8 +61,8 @@ endif if [ -f $$dep/GNUmakefile ] || [ -f $$dep/makefile ] || [ -f $$dep/Makefile ]; then \ $(MAKE) -C $$dep IS_DEP=1 || exit $$?; \ else \ - echo "ERROR: No Makefile to build dependency $$dep."; \ - exit 1; \ + echo "Error: No Makefile to build dependency $$dep."; \ + exit 2; \ fi \ fi \ done @@ -521,7 +521,7 @@ define dep_fetch_hex endef define dep_fetch_fail - echo "Unknown or invalid dependency: $(1). Please consult the erlang.mk README for instructions." >&2; \ + echo "Error: Unknown or invalid dependency: $(1)." >&2; \ exit 78; endef -- cgit v1.2.3