aboutsummaryrefslogtreecommitdiff
path: root/qxmpp.pro
blob: 98974b7f7250ff990960fa262a6a0a1298f7cdfb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
include(qxmpp.pri)

CONFIG += ordered
TEMPLATE = subdirs

SUBDIRS = src
isEmpty(QXMPP_NO_TESTS) {
    SUBDIRS += tests
}
isEmpty(QXMPP_NO_EXAMPLES) {
    SUBDIRS += examples
}

!isEmpty(QXMPP_USE_DOXYGEN) {
    docs.commands = cd doc/ && $(MAKE) docs
    docs.depends = sub-doc
    docs.files = doc/html
    docs.path = $$PREFIX/share/doc/qxmpp
    docs.CONFIG += no_check_exist directory

    INSTALLS += docs
    QMAKE_EXTRA_TARGETS += docs
    SUBDIRS += doc
}