Mercurial > hg > octave-nkf > gnulib-hg
changeset 11778:c1794ef712cb
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.
author | Jim Meyering <meyering@redhat.com> |
---|---|
date | Tue, 04 Aug 2009 11:17:08 +0200 |
parents | a595c1fb8e8b |
children | 431ad142ee5d |
files | ChangeLog top/maint.mk |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2009-08-04 Jim Meyering <meyering@redhat.com> + 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.
--- a/top/maint.mk +++ b/top/maint.mk @@ -774,8 +774,9 @@ # 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)/$@