aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/elvis.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-01-10 18:44:40 +0100
committerLoïc Hoguin <[email protected]>2015-01-10 18:44:40 +0100
commitb1ceed66810a962198585e3e8c49decec82d5cde (patch)
tree4c9524ce6f3a7a29a807e999ffde0375a5d8336c /plugins/elvis.mk
parent7ee4e7958acf0f0956bd64023ecb1731b2824b5e (diff)
parent16551762371f3eb67b4be418f7b9b0a1e330f687 (diff)
downloaderlang.mk-b1ceed66810a962198585e3e8c49decec82d5cde.tar.gz
erlang.mk-b1ceed66810a962198585e3e8c49decec82d5cde.tar.bz2
erlang.mk-b1ceed66810a962198585e3e8c49decec82d5cde.zip
Merge branch 'fix_elvis' of https://github.com/srijan/erlang.mk
Diffstat (limited to 'plugins/elvis.mk')
-rw-r--r--plugins/elvis.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/elvis.mk b/plugins/elvis.mk
index f3e75a8..341038f 100644
--- a/plugins/elvis.mk
+++ b/plugins/elvis.mk
@@ -30,11 +30,13 @@ distclean:: distclean-elvis
# Plugin-specific targets.
$(ELVIS):
- @$(call core_http_get,$(ELVIS_CONFIG),$(ELVIS_CONFIG_URL))
@$(call core_http_get,$(ELVIS),$(ELVIS_URL))
@chmod +x $(ELVIS)
-elvis: $(ELVIS)
+$(ELVIS_CONFIG):
+ @$(call core_http_get,$(ELVIS_CONFIG),$(ELVIS_CONFIG_URL))
+
+elvis: $(ELVIS) $(ELVIS_CONFIG)
@$(ELVIS) rock -c $(ELVIS_CONFIG) $(ELVIS_OPTS)
distclean-elvis: