$(MAKE) -C $(@:subdir-%=%) $(MAKECMDGOALS)
-UNCRUSTIFY_FILES = $(shell git ls-files|git check-attr --stdin uncrustify|awk -F: '/uncrustify: set$$/ {print $$1}')
+UNCRUSTIFY_FILES = $(shell etc/git-ls-files-attr uncrustify)
UNCRUSTIFY_CFG = etc/uncrustify.cfg
define UNCRUSTIFY_ALL
$(foreach i,$(UNCRUSTIFY_FILES),git show HEAD:$i | uncrustify -c $(UNCRUSTIFY_CFG) -o $i
$(UNCRUSTIFY_ALL)
-RELEASE_PREFIX = rpp-lib
include common.mk
+$(eval $(call release_rules,rpp-lib))
release: $(RELEASE_BASENAME).zip
$(RELEASE_BASENAME)::