changeset 17867:8e17fb096145

update-copyright: recognize groff's \(co marker * build-aux/update-copyright (circle_c_re): Also accept uses of \(co, as found in gzip.1.
author Jim Meyering <meyering@fb.com>
date Sun, 11 Jan 2015 16:44:35 -0800
parents 0b202278c177
children 33325a4c16a9
files ChangeLog build-aux/update-copyright
diffstat 2 files changed, 9 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-01-11  Jim Meyering  <meyering@fb.com>
+
+	update-copyright: recognize groff's \(co marker
+	* build-aux/update-copyright (circle_c_re): Also accept
+	uses of \(co, as found in gzip.1.
+
 2015-01-08  Pádraig Brady  <P@draigBrady.com>
 
 	maint.mk: fix compatibility with OS X nm
--- a/build-aux/update-copyright
+++ b/build-aux/update-copyright
@@ -3,9 +3,9 @@
     if 0;
 # Update an FSF copyright year list to include the current year.
 
-my $VERSION = '2013-01-03.09:41'; # UTC
+my $VERSION = '2015-01-02.04:14'; # UTC
 
-# Copyright (C) 2009-2015 Free Software Foundation, Inc.
+# Copyright (C) 2009-2014 Free Software Foundation, Inc.
 #
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -124,7 +124,7 @@
 use warnings;
 
 my $copyright_re = 'Copyright';
-my $circle_c_re = '(?:\([cC]\)|@copyright{}|&copy;)';
+my $circle_c_re = '(?:\([cC]\)|@copyright{}|\\\\\(co|&copy;)';
 my $holder = $ENV{UPDATE_COPYRIGHT_HOLDER};
 $holder ||= 'Free Software Foundation, Inc.';
 my $prefix_max = 5;