From 7f18406878764d56cbb5b681650b6911c439a280 Mon Sep 17 00:00:00 2001
From: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Date: Mon, 29 Sep 2014 15:06:40 +0200
Subject: [PATCH] wrap ALL_DEPS somewhat sanely
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

otherwise we'll produce lines with tens of thousands columns when
dealing with QMAKE_BUNDLE_DATA.

Change-Id: Ia2a70f25e4ee1d3fe976027a7c46d234809a3f70
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
---
 qmake/generators/unix/unixmake2.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qmake/generators/unix/unixmake2.cpp b/qmake/generators/unix/unixmake2.cpp
index 8bc5b00fd9b..eb8161a18b1 100644
--- a/qmake/generators/unix/unixmake2.cpp
+++ b/qmake/generators/unix/unixmake2.cpp
@@ -859,7 +859,7 @@ UnixMakefileGenerator::writeMakeParts(QTextStream &t)
     }
 
     t << endl << "all: " << escapeDependencyPath(deps)
-      << valGlue(escapeDependencyPaths(project->values("ALL_DEPS")), " ", " ", "")
+      << valGlue(escapeDependencyPaths(project->values("ALL_DEPS")), " \\\n\t\t", " \\\n\t\t", "")
       << allDeps << endl << endl;
 
     ProString ddir;
-- 
GitLab