aboutsummaryrefslogtreecommitdiff
path: root/qxmpp.pro
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2010-12-16 13:49:47 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2010-12-16 13:49:47 +0000
commit652957ad6fcccf16e1af72832364aefa82f171ca (patch)
treefee41cd3f9ad598c0fbcb2f03063d206f63259e3 /qxmpp.pro
parentc938b3116bc2554c92ed61fce3ae31208d89f7d0 (diff)
downloadqxmpp-652957ad6fcccf16e1af72832364aefa82f171ca.tar.gz
rework documentation generation
Diffstat (limited to 'qxmpp.pro')
-rw-r--r--qxmpp.pro11
1 files changed, 9 insertions, 2 deletions
diff --git a/qxmpp.pro b/qxmpp.pro
index e0fde422..44413e7b 100644
--- a/qxmpp.pro
+++ b/qxmpp.pro
@@ -9,7 +9,8 @@ SUBDIRS = src \
CONFIG += ordered
-include(doc/doc.pri)
+# Documentation generation
+docs.commands = $(MAKE) -C doc docs
# Source distribution
QXMPP_ARCHIVE = qxmpp-0.2.90
@@ -20,5 +21,11 @@ dist.commands = \
tar czf $${QXMPP_ARCHIVE}.tar.gz $$QXMPP_ARCHIVE && \
$(DEL_FILE) -r $$QXMPP_ARCHIVE
dist.depends = docs
-QMAKE_EXTRA_TARGETS += dist
+# Install rules
+htmldocs.files = doc/html
+htmldocs.path = $$[QT_INSTALL_PREFIX]/share/doc/qxmpp
+htmldocs.CONFIG += no_check_exist directory
+
+QMAKE_EXTRA_TARGETS += dist docs
+INSTALLS += htmldocs