diff options
author | Tor Arne Vestbø <tor.arne.vestbo@digia.com> | 2012-10-09 17:37:23 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-10-10 14:44:51 +0200 |
commit | 3f7388bc1e7632b85a8d4a9493db3a7ba33d4153 (patch) | |
tree | 9dc4e0da2fe12b549283bdd2c27d374241f5bd67 /src/tools/tools.pro | |
parent | 96bc659ea1acdafcf44fab4a09caf013d048f874 (diff) |
Centralize place where we ensure qdoc is built before generating docs
Change-Id: Ie0220d3c76990f6052edcd8c738e4e2807f35c71
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
Diffstat (limited to 'src/tools/tools.pro')
-rw-r--r-- | src/tools/tools.pro | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/tools/tools.pro b/src/tools/tools.pro index 11031b4cee..c67d6bfd76 100644 --- a/src/tools/tools.pro +++ b/src/tools/tools.pro @@ -34,3 +34,10 @@ contains(QT_CONFIG, dbus) { } SUBDIRS = $$TOOLS_SUBDIRS + +# Ensure qdoc is built before making any docs. We rely on the existing dependency +# on bootstrap for each of the other tools to ensure they also build qdoc first, +# and likewise, the dependency of the rest of the build on tools, src, etc. +bootstrap_docs.depends += $${src_tools_qdoc.target}-make_first +bootstrap_docs.target = $${src_tools_bootstrap.target}-docs +QMAKE_EXTRA_TARGETS += bootstrap_docs |