summaryrefslogtreecommitdiffstats
path: root/src/xmlgen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmlgen.cpp')
-rw-r--r--src/xmlgen.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/xmlgen.cpp b/src/xmlgen.cpp
index 8489a3c..86f3081 100644
--- a/src/xmlgen.cpp
+++ b/src/xmlgen.cpp
@@ -1898,6 +1898,7 @@ void generateXML()
ResourceMgr::instance().copyResource("xml.xsd",outputDirectory);
ResourceMgr::instance().copyResource("index.xsd",outputDirectory);
+ ResourceMgr::instance().copyResource("doxyfile.xsd",outputDirectory);
QCString fileName=outputDirectory+"/compound.xsd";
std::ofstream f(fileName.str(),std::ofstream::out | std::ofstream::binary);
@@ -1935,6 +1936,20 @@ void generateXML()
}
f.close();
+ fileName=outputDirectory+"/Doxyfile.xml";
+ f.open(fileName.str(),std::ofstream::out | std::ofstream::binary);
+ if (!f.is_open())
+ {
+ err("Cannot open file %s for writing\n",fileName.data());
+ return;
+ }
+ else
+ {
+ TextStream t(&f);
+ Config::writeXMLDoxyfile(t);
+ }
+ f.close();
+
fileName=outputDirectory+"/index.xml";
f.open(fileName.str(),std::ofstream::out | std::ofstream::binary);
if (!f.is_open())