aboutsummaryrefslogtreecommitdiffstats
path: root/doc/doc.pri
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@theqtcompany.com>2015-09-04 13:11:54 +0200
committerEike Ziller <eike.ziller@qt.io>2016-04-22 06:46:11 +0000
commit89c2b2cd327a1f929924265622c80e22719998d4 (patch)
treef82627aa19cda9735b6e692e938de3f00e82fb0b /doc/doc.pri
parent03acd1fbf3748d02ac0f640053df6c8df964db7f (diff)
Support make install also on OS X
It can be helpful, is not much effort, and parts did not restrict the install target to non-OS X already. Change-Id: I3501f37f089e981cf3f72d9250c9b9161d1565d6 Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Diffstat (limited to 'doc/doc.pri')
-rw-r--r--doc/doc.pri26
1 files changed, 12 insertions, 14 deletions
diff --git a/doc/doc.pri b/doc/doc.pri
index d04712aba6..207788a0f1 100644
--- a/doc/doc.pri
+++ b/doc/doc.pri
@@ -66,20 +66,18 @@ dev_html_docs_online.depends += $$DEV_HELP_DEP_FILES
dev_qch_docs.commands = $$HELPGENERATOR -o \"$$DEV_QCH_FILE\" $$DEV_QHP_FILE
dev_qch_docs.depends += dev_html_docs
-!macx {
- inst_qch_docs.files = $$QCH_FILE
- inst_qch_docs.path = $$INSTALL_DOC_PATH
- inst_qch_docs.CONFIG += no_check_exist no_default_install
- INSTALLS += inst_qch_docs
-
- inst_dev_qch_docs.files = $$DEV_QCH_FILE
- inst_dev_qch_docs.path = $$INSTALL_DOC_PATH
- inst_dev_qch_docs.CONFIG += no_check_exist no_default_install
- INSTALLS += inst_dev_qch_docs
-
- install_docs.depends = install_inst_qch_docs install_inst_dev_qch_docs
- QMAKE_EXTRA_TARGETS += install_docs
-}
+inst_qch_docs.files = $$QCH_FILE
+inst_qch_docs.path = $$INSTALL_DOC_PATH
+inst_qch_docs.CONFIG += no_check_exist no_default_install
+INSTALLS += inst_qch_docs
+
+inst_dev_qch_docs.files = $$DEV_QCH_FILE
+inst_dev_qch_docs.path = $$INSTALL_DOC_PATH
+inst_dev_qch_docs.CONFIG += no_check_exist no_default_install
+INSTALLS += inst_dev_qch_docs
+
+install_docs.depends = install_inst_qch_docs install_inst_dev_qch_docs
+QMAKE_EXTRA_TARGETS += install_docs
docs_online.depends = html_docs_online dev_html_docs_online
docs.depends = qch_docs dev_qch_docs