From a58e6f7e59f9ab582ae1e5d1dbc15622d8706dba Mon Sep 17 00:00:00 2001
From: con <qtc-committer@nokia.com>
Date: Fri, 13 Mar 2009 10:31:30 +0100
Subject: [PATCH] Fixes:    Make qmake generate install target for docs

---
 doc/doc.pri | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/doc/doc.pri b/doc/doc.pri
index 3c23ab8a951..b5d61eedc9e 100644
--- a/doc/doc.pri
+++ b/doc/doc.pri
@@ -21,7 +21,11 @@ qch_docs.commands = $$HELPGENERATOR -o $$QCH_FILE $$QHP_FILE
 qch_docs.depends += html_docs
 qch_docs.files = $$QCH_FILE
 
-linux-* {
+unix:!macx {
+    system("mkdir -p `dirname $$QCH_FILE` && touch $$QCH_FILE")
+}
+
+unix:!macx {
     qch_docs.path = /share/doc/qtcreator
     INSTALLS += qch_docs
 }
-- 
GitLab