Commit 6caf58c0 authored by Mathias Hasselmann's avatar Mathias Hasselmann Committed by hjk
Browse files

autotools: Skip empty parts in target lists

AFAIR this was about automake variables declared like this:

	bin_PROGRAMS = \
		foo \

Change-Id: Ic48b782cc65ca3489f4b9f7ea439ff3e3531e36a
Reviewed-by: default avatarhjk <>
parent 22f97594
......@@ -360,7 +360,7 @@ QStringList MakefileParser::targetValues(bool *hasVariables)
// Get all values of a line separated by spaces.
// Values representing a variable like $(value) get
// removed currently.
QStringList lineValues = m_line.split(QLatin1Char(' '));
QStringList lineValues = m_line.split(QLatin1Char(' '), QString::SkipEmptyParts);
QStringList::iterator it = lineValues.begin();
while (it != lineValues.end()) {
if ((*it).startsWith(QLatin1String("$("))) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment