From cf43676f7e7c8956e020df335a3b8c96384f2467 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Wed, 26 Aug 2015 19:00:58 +0200 Subject: 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. --- plugins/.triq.mk.swp | Bin 0 -> 12288 bytes plugins/triq.mk | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 plugins/.triq.mk.swp diff --git a/plugins/.triq.mk.swp b/plugins/.triq.mk.swp new file mode 100644 index 0000000..8e11562 Binary files /dev/null and b/plugins/.triq.mk.swp differ 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 # 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. -- cgit v1.2.3