mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-28 21:17:54 +00:00
automate insertion of copyright year list into Bv9ARM-book.xml
This commit is contained in:
parent
3941801b72
commit
e527dcdb00
@ -10,6 +10,7 @@
|
|||||||
<book xmlns="http://docbook.org/ns/docbook" version="5.0">
|
<book xmlns="http://docbook.org/ns/docbook" version="5.0">
|
||||||
<info>
|
<info>
|
||||||
<title>BIND 9 Administrator Reference Manual</title>
|
<title>BIND 9 Administrator Reference Manual</title>
|
||||||
|
<!-- insert copyright start -->
|
||||||
<copyright>
|
<copyright>
|
||||||
<year>2000</year>
|
<year>2000</year>
|
||||||
<year>2001</year>
|
<year>2001</year>
|
||||||
@ -27,8 +28,10 @@
|
|||||||
<year>2013</year>
|
<year>2013</year>
|
||||||
<year>2014</year>
|
<year>2014</year>
|
||||||
<year>2015</year>
|
<year>2015</year>
|
||||||
|
<year>2016</year>
|
||||||
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
|
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
|
||||||
</copyright>
|
</copyright>
|
||||||
|
<!-- insert copyright end -->
|
||||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="releaseinfo.xml"/>
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="releaseinfo.xml"/>
|
||||||
</info>
|
</info>
|
||||||
|
|
||||||
|
@ -555,6 +555,10 @@ foreach $file (keys %file_types) {
|
|||||||
$r .= " <xi:include href=\"releaseinfo.xml\"/>\n";
|
$r .= " <xi:include href=\"releaseinfo.xml\"/>\n";
|
||||||
s:<bookinfo>.*?</bookinfo>:<bookinfo>\n$r </bookinfo>:s;
|
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);
|
my ($start, $end);
|
||||||
if ($type =~ /^PYTHON(|-BIN)$/) {
|
if ($type =~ /^PYTHON(|-BIN)$/) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user