summaryrefslogtreecommitdiffstats
path: root/doc/doc.pri
diff options
context:
space:
mode:
authorDaniel Molkentin <daniel.molkentin@nokia.com>2011-11-23 12:57:13 (GMT)
committerDaniel Molkentin <daniel.molkentin@nokia.com>2011-11-23 14:01:12 (GMT)
commitdd26f80efaf5276e12896a12f1d186822bc86067 (patch)
tree4f4a3924fbc2f4e41214c064ee04c4b430d04d1d /doc/doc.pri
parent0f4a61a33942744b1609c2b375d28765a215e39f (diff)
downloadQt-dd26f80efaf5276e12896a12f1d186822bc86067.zip
Qt-dd26f80efaf5276e12896a12f1d186822bc86067.tar.gz
Qt-dd26f80efaf5276e12896a12f1d186822bc86067.tar.bz2
Fix manifest install rule on windows
Reviewed-by: Oswald Buddenhagen
Diffstat (limited to 'doc/doc.pri')
-rw-r--r--doc/doc.pri10
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/doc.pri b/doc/doc.pri
index 38d3d16..2480b07 100644
--- a/doc/doc.pri
+++ b/doc/doc.pri
@@ -19,6 +19,8 @@ COPYWEBKITTARGB = $$QT_BUILD_TREE/doc/html
EXAMPLESMANIFEST = $$QT_BUILD_TREE/doc/html/examples-manifest.xml
DEMOSMANIFEST = $$QT_BUILD_TREE/doc/html/demos-manifest.xml
+EXAMPLESMANIFESTTARGET = $$QT_BUILD_TREE/examples
+DEMOSMANIFESTTARGET = $$QT_BUILD_TREE/demos
$$unixstyle {
QDOC = cd $$QT_SOURCE_TREE/tools/qdoc3/test && QT_BUILD_TREE=$$QT_BUILD_TREE QT_SOURCE_TREE=$$QT_SOURCE_TREE $$QT_BUILD_TREE/bin/qdoc3 $$DOCS_GENERATION_DEFINES
@@ -28,14 +30,18 @@ $$unixstyle {
COPYWEBKITGUIDE = $$replace(COPYWEBKITGUIDE, "/", "\\")
COPYWEBKITTARGA = $$replace(COPYWEBKITTARGA, "/", "\\")
COPYWEBKITTARGB = $$replace(COPYWEBKITTARGB, "/", "\\")
+ EXAMPLESMANIFEST = $$replace(EXAMPLESMANIFEST, "/", "\\"))
+ DEMOSMANIFEST = $$replace(DEMOSMANIFEST, "/", "\\"))
+ EXAMPLESMANIFESTTARGET = $$replace(EXAMPLESMANIFESTTARGET, "/", "\\"))
+ DEMOSMANIFESTTARGET = $$replace(DEMOSMANIFESTTARGET, "/", "\\"))
}
ADP_DOCS_QDOCCONF_FILE = qt-build-docs-online.qdocconf
QT_DOCUMENTATION = ($$QDOC qt-api-only.qdocconf assistant.qdocconf designer.qdocconf \
linguist.qdocconf qmake.qdocconf qdeclarative.qdocconf) && \
(cd $$QT_BUILD_TREE && \
$$QMAKE_COPY_DIR $$COPYWEBKITGUIDE $$COPYWEBKITTARGA && \
- $$QMAKE_COPY $$EXAMPLESMANIFEST $$QT_BUILD_TREE/examples && \
- $$QMAKE_COPY $$DEMOSMANIFEST $$QT_BUILD_TREE/demos && \
+ $$QMAKE_COPY $$EXAMPLESMANIFEST $$EXAMPLESMANIFESTTARGET && \
+ $$QMAKE_COPY $$DEMOSMANIFEST $$DEMOSMANIFESTTARGET && \
$$GENERATOR doc-build/html-qt/qt.qhp -o doc/qch/qt.qch && \
$$GENERATOR doc-build/html-assistant/assistant.qhp -o doc/qch/assistant.qch && \
$$GENERATOR doc-build/html-designer/designer.qhp -o doc/qch/designer.qch && \