From a7ddef139415f74f9ba8dc84a2f15105149ca5e8 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Tue, 27 Sep 2016 13:43:55 +0200 Subject: [PATCH] copy global qdoc config files in non-prefix shadow builds MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit that required factoring out the docs installation to a separate project, as COPIES doesn't work in subdirs projects. it's cleaner this way anyway. Change-Id: I594f3ecdae67417511034ab993904c962b86b282 Reviewed-by: Topi Reiniƶ --- doc/doc.pro | 7 +++++++ qtbase.pro | 6 +----- 2 files changed, 8 insertions(+), 5 deletions(-) create mode 100644 doc/doc.pro diff --git a/doc/doc.pro b/doc/doc.pro new file mode 100644 index 0000000000..41ceb7ceae --- /dev/null +++ b/doc/doc.pro @@ -0,0 +1,7 @@ +TEMPLATE = aux + +global_docs.files = $$PWD/global +global_docs.path = $$[QT_INSTALL_DOCS] +INSTALLS += global_docs +!prefix_build:!equals(OUT_PWD, $$PWD): \ + COPIES += global_docs diff --git a/qtbase.pro b/qtbase.pro index 98ca86ad58..78f9b3a86c 100644 --- a/qtbase.pro +++ b/qtbase.pro @@ -4,7 +4,7 @@ load(qt_parts) -SUBDIRS += qmake/qmake-docs.pro +SUBDIRS += qmake/qmake-docs.pro doc cross_compile: CONFIG += nostrip @@ -180,10 +180,6 @@ mkspecs.files = \ mkspecs.files -= $$PWD/mkspecs/modules $$PWD/mkspecs/modules-inst INSTALLS += mkspecs -global_docs.files = $$PWD/doc/global -global_docs.path = $$[QT_INSTALL_DOCS] -INSTALLS += global_docs - OTHER_FILES += \ configure \ header.BSD \