aboutsummaryrefslogtreecommitdiff
path: root/qxmpp.pro
blob: 3321d9cfdfa95959bb87bf2268ffb5793eb48b30 (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-0.2.90
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