aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/triq.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-08-26 19:00:58 +0200
committerLoïc Hoguin <[email protected]>2015-08-26 19:00:58 +0200
commitcf43676f7e7c8956e020df335a3b8c96384f2467 (patch)
tree5fea603fecc8c15a3a2cadc673ee36457f685e99 /plugins/triq.mk
parente88092a674ebf3572c7bc2ca86177c3e8c16a59c (diff)
downloaderlang.mk-cf43676f7e7c8956e020df335a3b8c96384f2467.tar.gz
erlang.mk-cf43676f7e7c8956e020df335a3b8c96384f2467.tar.bz2
erlang.mk-cf43676f7e7c8956e020df335a3b8c96384f2467.zip
Fix auto disabling of triq when not in deps
We check the $(DEPS) and $(TEST_DEPS) variables now, instead of the directory directly, because triq won't be there yet on first build.
Diffstat (limited to 'plugins/triq.mk')
-rw-r--r--plugins/triq.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/triq.mk b/plugins/triq.mk
index 77775f6..f316c1b 100644
--- a/plugins/triq.mk
+++ b/plugins/triq.mk
@@ -1,7 +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),)
+ifeq ($(filter triq,$(DEPS) $(TEST_DEPS)),triq)
.PHONY: triq
# Targets.