mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 07:30:01 -04:00
automate insertion of copyright year list into Bv9ARM-book.xml
This commit is contained in:
parent
ecd6ac96cf
commit
cd1465de0e
2 changed files with 7 additions and 0 deletions
|
|
@ -19,6 +19,7 @@
|
|||
<book xmlns="http://docbook.org/ns/docbook" version="5.0">
|
||||
<info>
|
||||
<title>BIND 9 Administrator Reference Manual</title>
|
||||
<!-- insert copyright start -->
|
||||
<copyright>
|
||||
<year>2004</year>
|
||||
<year>2005</year>
|
||||
|
|
@ -32,6 +33,7 @@
|
|||
<year>2013</year>
|
||||
<year>2014</year>
|
||||
<year>2015</year>
|
||||
<year>2016</year>
|
||||
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
|
||||
</copyright>
|
||||
<copyright>
|
||||
|
|
@ -41,6 +43,7 @@
|
|||
<year>2003</year>
|
||||
<holder>Internet Software Consortium.</holder>
|
||||
</copyright>
|
||||
<!-- insert copyright end -->
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="releaseinfo.xml"/>
|
||||
</info>
|
||||
|
||||
|
|
|
|||
|
|
@ -600,6 +600,10 @@ foreach $file (keys %file_types) {
|
|||
$r .= " <xi:include href=\"releaseinfo.xml\"/>\n";
|
||||
s:<bookinfo>.*?</bookinfo>:<bookinfo>\n$r </bookinfo>:s;
|
||||
}
|
||||
if ($type eq 'SGML' && m:<!-- insert copyright start -->.*?<!-- insert copyright end -->:s) {
|
||||
my $r = copyrights(@years);
|
||||
s:<!-- insert copyright start -->.*?<!-- insert copyright end -->:<!-- insert copyright start -->\n$r <!-- insert copyright end -->:s;
|
||||
}
|
||||
|
||||
my ($start, $end);
|
||||
if ($type =~ /^PYTHON(|-BIN)$/) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue