summaryrefslogtreecommitdiff
path: root/gdb/copyright.py
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2012-06-05 13:28:57 +0000
committerJoel Brobecker <brobecker@gnat.com>2012-06-05 13:28:57 +0000
commit784eeb9ca992bfd5833b1bde805dfef6a4d8c31c (patch)
treef59016daaadb6f2bd3befdf9fc564703eb902ffa /gdb/copyright.py
parent77c735d2fda76f80bc420f129c1cd948ba1c33f3 (diff)
downloadgdb-784eeb9ca992bfd5833b1bde805dfef6a4d8c31c.tar.gz
copyright.py: Tell user to update gdb.texinfo and refcard.tex by hand.
gdb/ChangeLog: * copyright.py (MULTIPLE_COPYRIGHT_HEADERS): New constant. (main): Add MULTIPLE_COPYRIGHT_HEADERS to the list of files for which a reminder to update by hand is printed.
Diffstat (limited to 'gdb/copyright.py')
-rw-r--r--gdb/copyright.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/gdb/copyright.py b/gdb/copyright.py
index e8f283336c8..d83c93eba85 100644
--- a/gdb/copyright.py
+++ b/gdb/copyright.py
@@ -152,7 +152,7 @@ def main ():
print
print "\033[31mREMINDER: The following files must be updated by hand." \
"\033[0m"
- for filename in BY_HAND:
+ for filename in BY_HAND + MULTIPLE_COPYRIGHT_HEADERS:
print " ", filename
############################################################################
@@ -193,6 +193,14 @@ BY_HAND = (
"gdb/testsuite/gdb.base/step-line.c",
)
+# Files containing multiple copyright headers. This script is only
+# fixing the first one it finds, so we need to finish the update
+# by hand.
+MULTIPLE_COPYRIGHT_HEADERS = (
+ "gdb/doc/gdb.texinfo",
+ "gdb/doc/refcard.tex",
+)
+
# The list of file which have a copyright, but not head by the FSF.
# Filenames are relative to the root directory.
NOT_FSF_LIST = (