X-Git-Url: http://rtime.felk.cvut.cz/gitweb/pes-rpp/rpp-lib.git/blobdiff_plain/9d0382d7fc5f29e6772fdcfb2c599359237e940d..b9c14221d9d95c415ea02c0ba34dbf87d90ddbaf:/common.mk diff --git a/common.mk b/common.mk index 21be655..ef9dcf8 100644 --- a/common.mk +++ b/common.mk @@ -30,7 +30,7 @@ endif # `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,)