diff options
author | Loïc Hoguin <[email protected]> | 2015-08-26 19:00:58 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2015-08-26 19:00:58 +0200 |
commit | cf43676f7e7c8956e020df335a3b8c96384f2467 (patch) | |
tree | 5fea603fecc8c15a3a2cadc673ee36457f685e99 | |
parent | e88092a674ebf3572c7bc2ca86177c3e8c16a59c (diff) | |
download | erlang.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.
-rw-r--r-- | plugins/.triq.mk.swp | bin | 0 -> 12288 bytes | |||
-rw-r--r-- | plugins/triq.mk | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/plugins/.triq.mk.swp b/plugins/.triq.mk.swp Binary files differnew file mode 100644 index 0000000..8e11562 --- /dev/null +++ b/plugins/.triq.mk.swp 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. |