From: Jim Meyering Date: Tue, 4 Aug 2009 09:17:08 +0000 (+0200) Subject: maint.mk: make update-copyright exclusion list more configurable X-Git-Tag: v0.1~5709 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=8eda5d5ddd593f97e1ca524ef4c87d178f5c5d92;p=gnulib.git maint.mk: make update-copyright exclusion list more configurable * top/maint.mk (update-copyright): Default to excluding COPYING, but allow an override, in case someone does want to update that file. --- diff --git a/ChangeLog b/ChangeLog index 05dd012c6..879735294 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2009-08-04 Jim Meyering + maint.mk: make update-copyright exclusion list more configurable + * top/maint.mk (update-copyright): Default to excluding COPYING, + but allow an override, in case someone does want to update that file. + maint.mk: don't update copyright date in COPYING * top/maint.mk (update-copyright): Exclude COPYING. diff --git a/top/maint.mk b/top/maint.mk index 5d892381e..2df7c0467 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)/$@