From d598f850f9fad6a33dae622ce11a01b8585fe790 Mon Sep 17 00:00:00 2001 From: Topi Reinio Date: Tue, 24 Feb 2015 15:25:37 +0100 Subject: Doc: Add configuration for building online docs Add a new configuration file, b2qt-online.qdocconf that is selected for use whenever 'build_online_docs' CONFIG flag is set. Separate the common parts of doc config into b2qt-project.qdocconf, and clean it up by removing unnecessary variables. Change-Id: I001eee79b5322b515e568b90ee0d36aaf60c53c3 Reviewed-by: Eirik Aavitsland --- src/doc/doc.pro | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/doc/doc.pro') diff --git a/src/doc/doc.pro b/src/doc/doc.pro index 36dc209..a2fe144 100644 --- a/src/doc/doc.pro +++ b/src/doc/doc.pro @@ -1,3 +1,9 @@ TEMPLATE = aux -QMAKE_DOCS = $$PWD/config/b2qt.qdocconf +build_online_docs: { + QMAKE_DOCS_TARGETDIR = b2qt + QMAKE_DOCS = $$PWD/config/b2qt-online.qdocconf +} else { + QMAKE_DOCS = $$PWD/config/b2qt.qdocconf +} + QMAKE_DOCS_OUTPUTDIR = $$OUT_PWD/b2qt -- cgit v1.2.3