From ff8eb2a3fe462687fa9e0a81efd3b1b5ca70afe7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Fri, 15 Aug 2014 19:43:07 +0200 Subject: Silence erlc-include target when include/ is missing --- core/erlc.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/erlc.mk') diff --git a/core/erlc.mk b/core/erlc.mk index c75c656..1c169cc 100644 --- a/core/erlc.mk +++ b/core/erlc.mk @@ -64,7 +64,7 @@ clean:: clean-app erlc-include: -@if [ -d ebin/ ]; then \ - find include/ src/ -type f -name \*.hrl -newer ebin -exec touch $(shell find src/ -type f -name "*.erl") \; ; \ + find include/ src/ -type f -name \*.hrl -newer ebin -exec touch $(shell find src/ -type f -name "*.erl") \; 2>/dev/null || echo -n; \ fi clean-app: -- cgit v1.2.3