aboutsummaryrefslogtreecommitdiff
path: root/qxmpp.pro
blob: 7349b88cfff89c4c8b26d41f29c0067b0282a199 (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)

TEMPLATE = subdirs

SUBDIRS = src \
          tests \
          examples

CONFIG += ordered

include(doc/doc.pri)

# Source distribution
QXMPP_ARCHIVE = qxmpp-$$QXMPP_VERSION
dist.commands = \
    $(DEL_FILE) -r $$QXMPP_ARCHIVE && \
    svn export . $$QXMPP_ARCHIVE && \
#    $(COPY_DIR) doc/html $$QXMPP_ARCHIVE/doc && \
    $(DEL_FILE) -r $$QXMPP_ARCHIVE/src/server && \
    tar czf $${QXMPP_ARCHIVE}.tar.gz $$QXMPP_ARCHIVE && \
    $(DEL_FILE) -r $$QXMPP_ARCHIVE
# dist.depends = docs
QMAKE_EXTRA_TARGETS += dist