X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=top%2Fmaint.mk;h=2df7c046732bda4e7730b48e14caa4e4fb97ded3;hb=8eda5d5ddd593f97e1ca524ef4c87d178f5c5d92;hp=5d892381e7f5b9c9aa6eacb6f4546986f484526b;hpb=ecc53e8bbec4a724d836aa0b4e0ec5c580941c6b;p=pspp diff --git a/top/maint.mk b/top/maint.mk index 5d892381e7..2df7c04673 100644 --- a/top/maint.mk +++ b/top/maint.mk @@ -774,8 +774,9 @@ indent: # Run this rule once per year (usually early in January) # to update all FSF copyright year lists in your project. +update-copyright-exclude-regexp ?= (^|/)COPYING$$ .PHONY: update-copyright update-copyright: grep -l -w Copyright $$($(VC_LIST_EXCEPT)) \ - | grep -v -E '(^|/)COPYING$$' \ + | grep -v -E '$(update-copyright-exclude-regexp)' \ | xargs $(build_aux)/$@