Changeset 492


Ignore:
Timestamp:
Nov 10, 2012, 12:10:52 AM (7 years ago)
Author:
amain
Message:

plugin: plugins/check goal called from cmdline to display status of success and failed version checks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/contrib/plugins/plugins.mk

    r491 r492  
    8484# evaluating plugins/<plugin_name>/plugin.mk.
    8585define include_plugin
    86 ifndef ($(1),)
     86ifneq ($(1),)
    8787PLUGIN_NAME:=$(call upper,$(1))
    8888plugin_name:=$(call lower,$(1))
     
    9696
    9797plugin/%/uuid-success:
    98 ifdef ($(PLUGIN_VERBOSE))
     98ifeq ($(findstring plugins/check,$(MAKECMDGOALS)),plugins/check)
    9999        @echo "Version verified for plugin $(call upper,$*)"
    100100        @echo "  Configured UUID: $(PLUGIN_$(call upper,$*)_UUID) (Config.in)"
    101101        @echo "  Plugin UUID    : $(CONFIG_PLUGIN_$(call upper,$*)_UUID) (plugin.mk)"
    102102else
    103         true
     103        @true
    104104endif
    105105
     
    108108        @echo "  Configured UUID: $(PLUGIN_$(call upper,$*)_UUID) (Config.in)"
    109109        @echo "  Plugin UUID    : $(CONFIG_PLUGIN_$(call upper,$*)_UUID) (plugin.mk)"
     110ifneq ($(findstring plugins/check,$(MAKECMDGOALS)),plugins/check)
    110111        @exit 1
     112endif
    111113
    112114plugins/list:
Note: See TracChangeset for help on using the changeset viewer.