* top/maint.mk (update-copyright): Default to excluding COPYING,
but allow an override, in case someone does want to update that file.
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.
# 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)/$@