summaryrefslogtreecommitdiffstats
path: root/src/perlmodgen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2016-01-17 12:06:16 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2016-01-17 15:04:33 (GMT)
commita93ec7221d1a258f0268e0c081782478372efe0b (patch)
tree5f7e41dd02582a699a6f6f6540c463c5d168983e /src/perlmodgen.cpp
parent4dfc5887660284b345eb93b6c07dc1f91e780fac (diff)
downloadDoxygen-a93ec7221d1a258f0268e0c081782478372efe0b.zip
Doxygen-a93ec7221d1a258f0268e0c081782478372efe0b.tar.gz
Doxygen-a93ec7221d1a258f0268e0c081782478372efe0b.tar.bz2
Changed configuration mechanism to directly access options in order to improve performance
Diffstat (limited to 'src/perlmodgen.cpp')
-rw-r--r--src/perlmodgen.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/perlmodgen.cpp b/src/perlmodgen.cpp
index 6f9eb64..38ebbb2 100644
--- a/src/perlmodgen.cpp
+++ b/src/perlmodgen.cpp
@@ -2208,7 +2208,7 @@ bool PerlModGenerator::createOutputFile(QFile &f, const char *s)
bool PerlModGenerator::createOutputDir(QDir &perlModDir)
{
- QCString outputDirectory = Config_getString("OUTPUT_DIRECTORY");
+ QCString outputDirectory = Config_getString(OUTPUT_DIRECTORY);
if (outputDirectory.isEmpty())
{
outputDirectory=QDir::currentDirPath().utf8();
@@ -2445,8 +2445,8 @@ bool PerlModGenerator::generateDoxyRules()
if (!createOutputFile(doxyRules, pathDoxyRules))
return false;
- bool perlmodLatex = Config_getBool("PERLMOD_LATEX");
- QCString prefix = Config_getString("PERLMOD_MAKEVAR_PREFIX");
+ bool perlmodLatex = Config_getBool(PERLMOD_LATEX);
+ QCString prefix = Config_getString(PERLMOD_MAKEVAR_PREFIX);
FTextStream doxyRulesStream(&doxyRules);
doxyRulesStream <<
@@ -2542,8 +2542,8 @@ bool PerlModGenerator::generateMakefile()
if (!createOutputFile(makefile, pathMakefile))
return false;
- bool perlmodLatex = Config_getBool("PERLMOD_LATEX");
- QCString prefix = Config_getString("PERLMOD_MAKEVAR_PREFIX");
+ bool perlmodLatex = Config_getBool(PERLMOD_LATEX);
+ QCString prefix = Config_getString(PERLMOD_MAKEVAR_PREFIX);
FTextStream makefileStream(&makefile);
makefileStream <<
@@ -2923,7 +2923,7 @@ void PerlModGenerator::generate()
if (!createOutputDir(perlModDir))
return;
- bool perlmodLatex = Config_getBool("PERLMOD_LATEX");
+ bool perlmodLatex = Config_getBool(PERLMOD_LATEX);
QCString perlModAbsPath = perlModDir.absPath().utf8();
pathDoxyDocsPM = perlModAbsPath + "/DoxyDocs.pm";
@@ -2959,7 +2959,7 @@ void PerlModGenerator::generate()
void generatePerlMod()
{
- PerlModGenerator pmg(Config_getBool("PERLMOD_PRETTY"));
+ PerlModGenerator pmg(Config_getBool(PERLMOD_PRETTY));
pmg.generate();
}