aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--erlang.mk2
-rw-r--r--plugins/triq.mk2
2 files changed, 4 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
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