diff options
author | David Boddie <dboddie@trolltech.com> | 2010-02-04 20:17:42 (GMT) |
---|---|---|
committer | David Boddie <dboddie@trolltech.com> | 2010-02-04 20:17:42 (GMT) |
commit | a2fe25025f75ae750df22c59c338005eeda3d744 (patch) | |
tree | 94326418ce2c82d1b96a47694cb8948cdcda5a9f /doc/doc.pri | |
parent | acbbafc95096701ae0eb6917a5922a371cb37c69 (diff) | |
download | Qt-a2fe25025f75ae750df22c59c338005eeda3d744.zip Qt-a2fe25025f75ae750df22c59c338005eeda3d744.tar.gz Qt-a2fe25025f75ae750df22c59c338005eeda3d744.tar.bz2 |
Doc: Added Simplified Chinese documents and build rules for them.
Also updated qdoc's configuration reader so that we can put UTF-8
content in the .qdocconf files later.
Reviewed-by: Trust Me
Diffstat (limited to 'doc/doc.pri')
-rw-r--r-- | doc/doc.pri | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/doc/doc.pri b/doc/doc.pri index 463c447..ccbef1a 100644 --- a/doc/doc.pri +++ b/doc/doc.pri @@ -30,8 +30,14 @@ QT_DOCUMENTATION = ($$QDOC qt-api-only.qdocconf assistant.qdocconf designer.qdoc $$GENERATOR doc-build/html-qmake/qmake.qhp -o doc/qch/qmake.qch \ ) +QT_ZH_CN_DOCUMENTATION = ($$QDOC qt-api-only_zh_CN.qdocconf) && \ + (cd $$QT_BUILD_TREE && \ + $$GENERATOR doc-build/html-qt_zh_CN/qt.qhp -o doc/qch/qt_zh_CN.qch \ + ) + win32-g++:isEmpty(QMAKE_SH) { QT_DOCUMENTATION = $$replace(QT_DOCUMENTATION, "/", "\\\\") + QT_ZH_CN_DOCUMENTATION = $$replace(QT_ZH_CN_DOCUMENTATION, "/", "\\\\") } # Build rules: @@ -42,6 +48,9 @@ qch_docs.depends += sub-tools docs.depends = adp_docs qch_docs +docs_zh_CN.depends = docs +docs_zh_CN.commands = $$QT_ZH_CN_DOCUMENTATION + # Install rules htmldocs.files = $$QT_BUILD_TREE/doc/html htmldocs.path = $$[QT_INSTALL_DOCS] @@ -54,5 +63,5 @@ qchdocs.CONFIG += no_check_exist docimages.files = $$QT_BUILD_TREE/doc/src/images docimages.path = $$[QT_INSTALL_DOCS]/src -QMAKE_EXTRA_TARGETS += qdoc adp_docs qch_docs docs +QMAKE_EXTRA_TARGETS += qdoc adp_docs qch_docs docs docs_zh_CN INSTALLS += htmldocs qchdocs docimages |