aboutsummaryrefslogtreecommitdiffstats
path: root/erlang.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-03-06 19:05:32 +0100
committerLoïc Hoguin <[email protected]>2015-03-06 19:05:32 +0100
commit0d1a555a287f0d1c91c3880e18570e0b5d5d8a50 (patch)
tree909f9eba0c7b0c7e47189dea19b067b61afa7cf6 /erlang.mk
parent3fe951bf14c894cfc647c266e0d93a80b3e26488 (diff)
downloaderlang.mk-0d1a555a287f0d1c91c3880e18570e0b5d5d8a50.tar.gz
erlang.mk-0d1a555a287f0d1c91c3880e18570e0b5d5d8a50.tar.bz2
erlang.mk-0d1a555a287f0d1c91c3880e18570e0b5d5d8a50.zip
Don't run triq if the dep is missing
Diffstat (limited to 'erlang.mk')
-rw-r--r--erlang.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/erlang.mk b/erlang.mk
index 5311303..a0cf657 100644
--- a/erlang.mk
+++ b/erlang.mk
@@ -1241,6 +1241,7 @@ shell: build-shell-deps
# Copyright (c) 2015, Loïc Hoguin <[email protected]>
# This file is part of erlang.mk and subject to the terms of the ISC License.
+ifneq ($(wildcard $(DEPS_DIR)/triq),)
.PHONY: triq
# Targets.
@@ -1267,3 +1268,4 @@ triq: test-build
| sed "s/ebin\//'/;s/\.beam/',/" | sed '$$s/.$$//'))
$(gen_verbose) $(call triq_run,[true] =:= lists:usort([triq:check(M) || M <- [$(MODULES)]]))
endif
+endif