]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lib.git/blobdiff - common.mk
Add git-ls-files-attr script
[pes-rpp/rpp-lib.git] / common.mk
index 21be6551f7cd3d3a624e0998422a56dff090fbe8..ef9dcf858c81eb9a4195c1419d18a3541c4353e8 100644 (file)
--- 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,<release_prefix>)