diff options
Diffstat (limited to 'plugins/elvis.mk')
-rw-r--r-- | plugins/elvis.mk | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/plugins/elvis.mk b/plugins/elvis.mk index f3e75a8..580e2f5 100644 --- a/plugins/elvis.mk +++ b/plugins/elvis.mk @@ -21,20 +21,18 @@ help:: "Elvis targets:" \ " elvis Run Elvis using the local elvis.config or download the default otherwise" -ifneq ($(wildcard $(ELVIS_CONFIG)),) -rel:: distclean-elvis -endif - 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: |