maint.mk: make update-copyright exclusion list more configurable
[pspp] / top / maint.mk
index 5d892381e7f5b9c9aa6eacb6f4546986f484526b..2df7c046732bda4e7730b48e14caa4e4fb97ded3 100644 (file)
@@ -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)/$@