aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
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 /plugins
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 'plugins')
-rw-r--r--plugins/triq.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/triq.mk b/plugins/triq.mk
index 8a77c91..2edfdba 100644
--- a/plugins/triq.mk
+++ b/plugins/triq.mk
@@ -1,6 +1,7 @@
# 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.
@@ -27,3 +28,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