summaryrefslogtreecommitdiffstats
path: root/doc/doc.pri
diff options
context:
space:
mode:
authorTakumi ASAKI <takumi.asaki@nokia.com>2010-06-07 02:13:11 (GMT)
committerTakumi ASAKI <takumi.asaki@nokia.com>2010-06-07 02:13:11 (GMT)
commiteba8e2c10c5bc1b373fdf7640962029cb2e7908f (patch)
tree868460b8ccfd19ba6ae8a00c1c673c6e1b11bbf5 /doc/doc.pri
parente3ee3780777b07e6283a8b33cd4f7e1d56241d1c (diff)
downloadQt-eba8e2c10c5bc1b373fdf7640962029cb2e7908f.zip
Qt-eba8e2c10c5bc1b373fdf7640962029cb2e7908f.tar.gz
Qt-eba8e2c10c5bc1b373fdf7640962029cb2e7908f.tar.bz2
* Add Japanese tutorial documents
* Add Japanese hellotr example
Diffstat (limited to 'doc/doc.pri')
-rw-r--r--doc/doc.pri11
1 files changed, 10 insertions, 1 deletions
diff --git a/doc/doc.pri b/doc/doc.pri
index 3180a61..0a5cc9a 100644
--- a/doc/doc.pri
+++ b/doc/doc.pri
@@ -36,9 +36,15 @@ QT_ZH_CN_DOCUMENTATION = ($$QDOC qt-api-only_zh_CN.qdocconf) && \
$$GENERATOR doc-build/html-qt_zh_CN/qt.qhp -o doc/qch/qt_zh_CN.qch \
)
+QT_JA_JP_DOCUMENTATION = ($$QDOC qt-api-only_ja_JP.qdocconf) && \
+ (cd $$QT_BUILD_TREE && \
+ $$GENERATOR doc-build/html-qt_ja_JP/qt.qhp -o doc/qch/qt_ja_JP.qch \
+ )
+
win32-g++:isEmpty(QMAKE_SH) {
QT_DOCUMENTATION = $$replace(QT_DOCUMENTATION, "/", "\\\\")
QT_ZH_CN_DOCUMENTATION = $$replace(QT_ZH_CN_DOCUMENTATION, "/", "\\\\")
+ QT_JA_JP_DOCUMENTATION = $$replace(QT_JA_JP_DOCUMENTATION, "/", "\\\\")
}
# Build rules:
@@ -52,6 +58,9 @@ docs.depends = sub-qdoc3 adp_docs qch_docs
docs_zh_CN.depends = docs
docs_zh_CN.commands = $$QT_ZH_CN_DOCUMENTATION
+docs_ja_JP.depends = docs
+docs_ja_JP.commands = $$QT_JA_JP_DOCUMENTATION
+
# Install rules
htmldocs.files = $$QT_BUILD_TREE/doc/html
htmldocs.path = $$[QT_INSTALL_DOCS]
@@ -67,5 +76,5 @@ docimages.path = $$[QT_INSTALL_DOCS]/src
sub-qdoc3.depends = sub-corelib sub-xml
sub-qdoc3.commands += (cd tools/qdoc3 && $(MAKE))
-QMAKE_EXTRA_TARGETS += sub-qdoc3 adp_docs qch_docs docs docs_zh_CN
+QMAKE_EXTRA_TARGETS += sub-qdoc3 adp_docs qch_docs docs docs_zh_CN docs_ja_JP
INSTALLS += htmldocs qchdocs docimages