From e527dcdb00d267d8488f6465beab615e0cbc620c Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Sat, 26 Nov 2016 07:49:23 +1100 Subject: [PATCH] automate insertion of copyright year list into Bv9ARM-book.xml --- doc/arm/Bv9ARM-book.xml | 3 +++ util/update_copyrights | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/doc/arm/Bv9ARM-book.xml b/doc/arm/Bv9ARM-book.xml index 9681c9cbcf..debef67cc5 100644 --- a/doc/arm/Bv9ARM-book.xml +++ b/doc/arm/Bv9ARM-book.xml @@ -10,6 +10,7 @@ BIND 9 Administrator Reference Manual + 2000 2001 @@ -27,8 +28,10 @@ 2013 2014 2015 + 2016 Internet Systems Consortium, Inc. ("ISC") + diff --git a/util/update_copyrights b/util/update_copyrights index 398a24f5b4..874e47d8e1 100644 --- a/util/update_copyrights +++ b/util/update_copyrights @@ -555,6 +555,10 @@ foreach $file (keys %file_types) { $r .= " \n"; s:.*?:\n$r :s; } + if ($type eq 'SGML' && m:.*?:s) { + my $r = copyrights(@years); + s:.*?:\n$r :s; + } my ($start, $end); if ($type =~ /^PYTHON(|-BIN)$/) {