diff options
author | con <qtc-commiter@nokia.com> | 2008-12-02 12:01:29 +0100 |
---|---|---|
committer | con <qtc-commiter@nokia.com> | 2008-12-02 12:01:29 +0100 |
commit | 05c35356abc31549c5db6eba31fb608c0365c2a0 (patch) | |
tree | be044530104267afaff13f8943889cb97f8c8bad /doc/doc.pri |
Initial import
Diffstat (limited to 'doc/doc.pri')
-rw-r--r-- | doc/doc.pri | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/doc/doc.pri b/doc/doc.pri new file mode 100644 index 00000000000..5d58a28c3e6 --- /dev/null +++ b/doc/doc.pri @@ -0,0 +1,25 @@ +# Generate docs. Does not work for shadow builds and never will. +# (adding a "docs" make target). + +unix { + QDOC = SRCDIR=$$PWD OUTDIR=$$OUT_PWD/html $$(QTDIR)/tools/qdoc3/qdoc3 + HELPGENERATOR = qhelpgenerator +} else { + QDOC = $$(QTDIR)\tools\qdoc3\release\qdoc3.exe + HELPGENERATOR = qhelpgenerator +} + +QHP_FILE = $$OUT_PWD/html/qtcreator.qhp +QCH_FILE = $$OUT_PWD/qtcreator.qch + +html_docs.commands =$$QDOC $$PWD/qtcreator.qdocconf +html_docs.depends += $$PWD/qtcreator.qdoc $$PWD/qtcreator.qdocconf +html_docs.files = $$QHP_FILE + +qch_docs.commands = $$HELPGENERATOR -o $$QCH_FILE $$QHP_FILE +qch_docs.depends += html_docs +qch_docs.files = $$QCH_FILE + +docs.depends = qch_docs + +QMAKE_EXTRA_TARGETS += html_docs qch_docs docs |