systeminfo: fix the examples to build properly
[qt:qtsystems.git] / doc / config / publishsubscribe / qtpublishsubscribe_doc.pri
1
2 win32:!win32-g++ {
3     unixstyle = false
4 } else:win32-g++:isEmpty(QMAKE_SH) {
5     unixstyle = false
6 } else {
7     unixstyle = true
8 }
9
10 QDOC = $$QT.core.bins/qdoc
11
12 ONLINE_CONF = $$PWD/qtpublishsubscribe.qdocconf
13 DITA_CONF = $$PWD/qtpublishsubscribe-dita.qdocconf
14 QCH_CONF = #nothing yet
15
16 $$unixstyle {
17 } else {
18     QDOC = $$replace(QDOC, "qdoc", "qdoc.exe")
19     ONLINE_CONF = $$replace(ONLINE_CONF, "/", "\\")
20     DITA_DOCS = $$replace(ONLINE_CONF, "/", "\\")
21 }
22
23 # Build rules
24 docs.depends = dita_docs online_docs qch_docs
25
26 online_docs.commands = $$QDOC $$ONLINE_CONF
27
28 dita_docs.commands = $$QDOC $$DITA_CONF
29
30 qch_docs.commands = #no commands yet
31
32 QMAKE_EXTRA_TARGETS += docs dita_docs online_docs qch_docs
33 QMAKE_CLEAN += \
34                "-r $$PWD/../html" \
35                "-r $$PWD/../ditaxml"
36
37
38 OTHER_FILES +=