diff options
author | Loïc Hoguin <[email protected]> | 2014-08-15 19:43:07 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2014-08-15 19:43:07 +0200 |
commit | ff8eb2a3fe462687fa9e0a81efd3b1b5ca70afe7 (patch) | |
tree | 03f4372198e8c77580c4e6105a02d7eeb0fd69b9 | |
parent | fb3f0ba3148b8a6db7a556e1d5e2c1afc6466cef (diff) | |
download | erlang.mk-ff8eb2a3fe462687fa9e0a81efd3b1b5ca70afe7.tar.gz erlang.mk-ff8eb2a3fe462687fa9e0a81efd3b1b5ca70afe7.tar.bz2 erlang.mk-ff8eb2a3fe462687fa9e0a81efd3b1b5ca70afe7.zip |
Silence erlc-include target when include/ is missing
-rw-r--r-- | core/erlc.mk | 2 | ||||
-rw-r--r-- | erlang.mk | 2 |
2 files changed, 2 insertions, 2 deletions
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: @@ -242,7 +242,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: |