changeset 11777:a595c1fb8e8b

maint.mk: don't update copyright date in COPYING * top/maint.mk (update-copyright): Exclude COPYING.
author Jim Meyering <meyering@redhat.com>
date Tue, 04 Aug 2009 10:44:05 +0200
parents 9deb84e458cb
children c1794ef712cb
files ChangeLog top/maint.mk
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2009-08-04  Jim Meyering  <meyering@redhat.com>
 
+	maint.mk: don't update copyright date in COPYING
+	* top/maint.mk (update-copyright): Exclude COPYING.
+
 	maint.mk: add a copyright-updating rule
 	* top/maint.mk (update-copyright): New rule.
 	Derived from coreutils/Makefile.am.
--- a/top/maint.mk
+++ b/top/maint.mk
@@ -777,4 +777,5 @@
 .PHONY: update-copyright
 update-copyright:
 	grep -l -w Copyright $$($(VC_LIST_EXCEPT))		\
+	  | grep -v -E '(^|/)COPYING$$'				\
 	  | xargs $(build_aux)/$@