# `make release` can ignore files without certain git attribute
RELEASE_IGNORE_FILES_CMD = $(strip $(if $(RELEASE_ATTR),\
- git ls-files | git check-attr --stdin $(RELEASE_ATTR)|awk -F: '!/$(RELEASE_ATTR): set$$/ {print $$1}',\
+ etc/git-ls-files-attr --not $(RELEASE_ATTR),\
$(if $(filter RELEASE_ATTR,$(.VARIABLES)),,$(error Please specify RELEASE_ATTR variable (it can be empty)))))
# Usage: $(call release_rules,<release_prefix>)