summaryrefslogtreecommitdiff
path: root/helpcompiler/source
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2013-02-28 11:12:53 +0100
committerDavid Tardon <dtardon@redhat.com>2013-02-28 12:30:50 +0100
commitcfe0fbb039e452ab75552e65474859573cb155fd (patch)
treed375f7bb209a7e6dca6b56c7a7af87d9944757df /helpcompiler/source
parentb12d5e12a60867531974ce6b4eca0ce653bcae7c (diff)
do not create index for shared help module
Change-Id: I83f9b99abcc952dfea924662a0db8d98efc56307
Diffstat (limited to 'helpcompiler/source')
-rw-r--r--helpcompiler/source/HelpLinker.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/helpcompiler/source/HelpLinker.cxx b/helpcompiler/source/HelpLinker.cxx
index 0bdde1848c68..15061f30384e 100644
--- a/helpcompiler/source/HelpLinker.cxx
+++ b/helpcompiler/source/HelpLinker.cxx
@@ -398,6 +398,9 @@ void HelpLinker::link() throw( HelpProcessingException )
throw HelpProcessingException( HELPPROCESSING_GENERAL_ERROR, aStrStream.str() );
}
+ if (!m_bCreateIndex)
+ continue;
+
std::string documentPath = streamTable.document_path;
if (documentPath.find("/") == 0)
documentPath = documentPath.substr(1);
@@ -736,6 +739,8 @@ void HelpLinker::main( std::vector<std::string> &args,
}
else if (args[i].compare("-nolangroot") == 0)
m_bUseLangRoot = false;
+ else if (args[i].compare("-noindex") == 0)
+ m_bCreateIndex = false;
else
helpFiles.push_back(args[i]);
++i;