maint.mk: make update-copyright exclusion list more configurable
[pspp] / top / maint.mk
index 2db44ba70e3ddacd79577bb4dbd5463530f4ec0f..2df7c046732bda4e7730b48e14caa4e4fb97ded3 100644 (file)
@@ -774,7 +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 '$(update-copyright-exclude-regexp)'     \
          | xargs $(build_aux)/$@