aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2007-03-05 16:42:58 +0000
committerMax Horn2007-03-05 16:42:58 +0000
commitbccf93108c67cff951aac689f8df24a08c93ad05 (patch)
tree532d0cbea8ea6dfb668cc1997f31d6610803132c
parent693d47450203695eb55ac6e55e438c84502cdb9f (diff)
downloadscummvm-rg350-bccf93108c67cff951aac689f8df24a08c93ad05.tar.gz
scummvm-rg350-bccf93108c67cff951aac689f8df24a08c93ad05.tar.bz2
scummvm-rg350-bccf93108c67cff951aac689f8df24a08c93ad05.zip
Updated credits.pl to add a XML header/DTD to credits.xml
svn-id: r25994
-rwxr-xr-xtools/credits.pl5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/credits.pl b/tools/credits.pl
index db6268fece..af3d13865b 100755
--- a/tools/credits.pl
+++ b/tools/credits.pl
@@ -179,8 +179,11 @@ sub begin_credits {
print "// This file was generated by credits.pl. Do not edit by hand!\n";
print "static const char *credits[] = {\n";
} elsif ($mode eq "XML") {
+ print "<?xml version='1.0'?>\n";
print "<!-- This file was generated by credits.pl. Do not edit by hand! -->\n";
- print "<appendix>\n";
+ print "<!DOCTYPE appendix PUBLIC '-//OASIS//DTD DocBook XML V4.2//EN'\n";
+ print " 'http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd'>\n";
+ print "<appendix id='credits'>\n";
print " <title>" . $title . "</title>\n";
print " <informaltable frame='none'>\n";
print " <tgroup cols='3' align='left' colsep='0' rowsep='0'>\n";