[v9_9] retain release info when updating copyright

This commit is contained in:
Evan Hunt 2014-09-05 11:29:18 -07:00
parent 2d42321cea
commit 0ad93b79ee
2 changed files with 2 additions and 0 deletions

View file

@ -43,6 +43,7 @@
<year>2003</year>
<holder>Internet Software Consortium.</holder>
</copyright>
<xi:include href="releaseinfo.xml"/>
</bookinfo>
<chapter id="Bv9ARM.ch01">

View file

@ -532,6 +532,7 @@ foreach $file (keys %file_types) {
if ($type eq 'SGML' && m:<bookinfo>.*?</bookinfo>:s) {
# print "bookinfo: $file\n";
my $r = copyrights(@years);
$r .= " <xi:include href=\"releaseinfo.xml\"/>\n";
s:<bookinfo>.*?</bookinfo>:<bookinfo>\n$r </bookinfo>:s;
}