Update the copyright notice in files ending in '.in' because the
script change-copyright-year did not handle them.
Update the script as well.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14087 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/auxprogs/change-copyright-year b/auxprogs/change-copyright-year
index 4c6f90a..e6b9802 100755
--- a/auxprogs/change-copyright-year
+++ b/auxprogs/change-copyright-year
@@ -16,14 +16,14 @@
 
 # The find command deliberately skips .svn/ subdirs -- we don't want to
 # change them.
-for i in `find . -name '*.[chS]' -type f -not -path '*.svn\/*'` ; do
+for i in `find . -name '*.[chS]' -o -name '*.in' -type f -not -path '*.svn\/*'` ; do
     echo $i
-    perl -p -e 's/Copyright \(C\) 20([0-1])([0-9])-2012/Copyright (C) 20$1$2-2013/' < $i > tmp.$$
+    if [ -L $i ]; then continue; fi  # skip symbolic links
+    perl -p -e 's/Copyright \(C\) 20([0-1])([0-9])-2013/Copyright (C) 20$1$2-2014/' < $i > tmp.$$
     mv tmp.$$ $i
 
 # Copyright IBM Corp. 2010-2011
 
-    perl -p -e 's/Copyright IBM Corp. 20([0-1])([0-9])-2012/Copyright IBM Corp. 20$1$2-2013/' < $i > tmp.$$
+    perl -p -e 's/Copyright IBM Corp. 20([0-1])([0-9])-2013/Copyright IBM Corp. 20$1$2-2014/' < $i > tmp.$$
     mv tmp.$$ $i
 done
-
diff --git a/cachegrind/cg_annotate.in b/cachegrind/cg_annotate.in
index 9dc9565..9fbea20 100644
--- a/cachegrind/cg_annotate.in
+++ b/cachegrind/cg_annotate.in
@@ -7,7 +7,7 @@
 #  This file is part of Cachegrind, a Valgrind tool for cache
 #  profiling programs.
 #
-#  Copyright (C) 2002-2005 Nicholas Nethercote
+#  Copyright (C) 2002-2013 Nicholas Nethercote
 #     njn@valgrind.org
 #
 #  This program is free software; you can redistribute it and/or
@@ -158,7 +158,7 @@
     -I<d> --include=<d>   add <d> to list of directories to search for 
                           source files
 
-  cg_annotate is Copyright (C) 2002-2007 Nicholas Nethercote.
+  cg_annotate is Copyright (C) 2002-2013 Nicholas Nethercote.
   and licensed under the GNU General Public License, version 2.
   Bug reports, feedback, admiration, abuse, etc, to: njn\@valgrind.org.
                                                 
diff --git a/cachegrind/cg_diff.in b/cachegrind/cg_diff.in
index bcbe7d6..96f4b15 100755
--- a/cachegrind/cg_diff.in
+++ b/cachegrind/cg_diff.in
@@ -7,7 +7,7 @@
 #  This file is part of Cachegrind, a Valgrind tool for cache
 #  profiling programs.
 #
-#  Copyright (C) 2002-2010 Nicholas Nethercote
+#  Copyright (C) 2002-2013 Nicholas Nethercote
 #     njn@valgrind.org
 #
 #  This program is free software; you can redistribute it and/or
@@ -52,7 +52,7 @@
                           to filenames, eg. --mod-filename='s/prog[0-9]/projN/'
     --mod-funcname=<expr> like --mod-filename, but applied to function names
 
-  cg_diff is Copyright (C) 2010-2010 Nicholas Nethercote.
+  cg_diff is Copyright (C) 2002-2013 Nicholas Nethercote.
   and licensed under the GNU General Public License, version 2.
   Bug reports, feedback, admiration, abuse, etc, to: njn\@valgrind.org.
                                                 
diff --git a/callgrind/callgrind_annotate.in b/callgrind/callgrind_annotate.in
index f11d5f6..75b1a07 100644
--- a/callgrind/callgrind_annotate.in
+++ b/callgrind/callgrind_annotate.in
@@ -8,11 +8,11 @@
 #  This file is part of Callgrind, a cache-simulator and call graph
 #  tracer built on Valgrind.
 #
-#  Copyright (C) 2003 Josef Weidendorfer
+#  Copyright (C) 2003-2013 Josef Weidendorfer
 #     Josef.Weidendorfer@gmx.de
 #
 #  This file is based heavily on cg_annotate, part of Valgrind.
-#  Copyright (C) 2002 Nicholas Nethercote
+#  Copyright (C) 2002-2013 Nicholas Nethercote
 #     njn@valgrind.org
 #
 #  This program is free software; you can redistribute it and/or
diff --git a/callgrind/callgrind_control.in b/callgrind/callgrind_control.in
index 1dd8cce..a38ee16 100644
--- a/callgrind/callgrind_control.in
+++ b/callgrind/callgrind_control.in
@@ -7,7 +7,7 @@
 #  This file is part of Callgrind, a cache-simulator and call graph
 #  tracer built on Valgrind.
 #
-#  Copyright (C) 2003-2011 Josef Weidendorfer <Josef.Weidendorfer@gmx.de>
+#  Copyright (C) 2003-2013 Josef Weidendorfer <Josef.Weidendorfer@gmx.de>
 #
 #  This program is free software; you can redistribute it and/or
 #  modify it under the terms of the GNU General Public License as
diff --git a/massif/ms_print.in b/massif/ms_print.in
index 5696653..6fa3669 100755
--- a/massif/ms_print.in
+++ b/massif/ms_print.in
@@ -7,7 +7,7 @@
 #  This file is part of Massif, a Valgrind tool for profiling memory
 #  usage of programs.
 #
-#  Copyright (C) 2007-2007 Nicholas Nethercote
+#  Copyright (C) 2007-2013 Nicholas Nethercote
 #     njn@valgrind.org
 #
 #  This program is free software; you can redistribute it and/or
@@ -76,7 +76,7 @@
     --x=<4..1000>         graph width, in columns [72]
     --y=<4..1000>         graph height, in rows [20]
 
-  ms_print is Copyright (C) 2007-2007 Nicholas Nethercote.
+  ms_print is Copyright (C) 2007-2013 Nicholas Nethercote.
   and licensed under the GNU General Public License, version 2.
   Bug reports, feedback, admiration, abuse, etc, to: njn\@valgrind.org.
                                                 
diff --git a/perf/vg_perf.in b/perf/vg_perf.in
index 5d31f48..5c482ef 100644
--- a/perf/vg_perf.in
+++ b/perf/vg_perf.in
@@ -6,7 +6,7 @@
 #  This file is part of Valgrind, a dynamic binary instrumentation
 #  framework.
 #
-#  Copyright (C) 2005 Nicholas Nethercote
+#  Copyright (C) 2005-2013 Nicholas Nethercote
 #     njn@valgrind.org
 #
 #  This program is free software; you can redistribute it and/or
diff --git a/tests/vg_regtest.in b/tests/vg_regtest.in
index 224385f..4aa6fea 100755
--- a/tests/vg_regtest.in
+++ b/tests/vg_regtest.in
@@ -6,7 +6,7 @@
 #  This file is part of Valgrind, a dynamic binary instrumentation
 #  framework.
 #
-#  Copyright (C) 2003 Nicholas Nethercote
+#  Copyright (C) 2003-2013 Nicholas Nethercote
 #     njn@valgrind.org
 #
 #  This program is free software; you can redistribute it and/or