Permalink
Browse files

Doxygen fails to copy logo image to LaTex output dir

Logo was only copied for HTML, now it is done for LaTeX and RTF as well.
  • Loading branch information...
albert-github committed Apr 3, 2016
1 parent 3731948 commit 711c6c0bee87d47d70b3ffa9ca8b39b704e91723
Showing with 8 additions and 3 deletions.
  1. +8 −3 src/doxygen.cpp
View
@@ -9255,7 +9255,7 @@ static void copyStyleSheet()
}
}
static void copyLogo()
static void copyLogo(const QCString &outputOption)
{
QCString &projectLogo = Config_getString(PROJECT_LOGO);
if (!projectLogo.isEmpty())
@@ -9268,7 +9268,7 @@ static void copyLogo()
}
else
{
QCString destFileName = Config_getString(HTML_OUTPUT)+"/"+fi.fileName().data();
QCString destFileName = outputOption+"/"+fi.fileName().data();
copyFile(projectLogo,destFileName);
Doxygen::indexList->addImageFile(fi.fileName().data());
}
@@ -11657,14 +11657,19 @@ void generateOutput()
{
FTVHelp::generateTreeViewImages();
copyStyleSheet();
copyLogo();
copyLogo(Config_getString(HTML_OUTPUT));
copyExtraFiles(Config_getList(HTML_EXTRA_FILES),"HTML_EXTRA_FILES",Config_getString(HTML_OUTPUT));
}
if (generateLatex)
{
copyLatexStyleSheet();
copyLogo(Config_getString(LATEX_OUTPUT));
copyExtraFiles(Config_getList(LATEX_EXTRA_FILES),"LATEX_EXTRA_FILES",Config_getString(LATEX_OUTPUT));
}
if (generateRtf)
{
copyLogo(Config_getString(RTF_OUTPUT));
}
if (generateHtml &&
Config_getBool(GENERATE_HTMLHELP) &&

0 comments on commit 711c6c0

Please sign in to comment.