aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2015-01-07 09:43:24 +0100
committerJeremy Lainé <jeremy.laine@m4x.org>2015-01-07 09:43:24 +0100
commit68cb4de062512048089350d6dc8f1f5f5d75944e (patch)
treee1e80fc11b785b92b89dd2acc1ae69302bc6c7ff
parentf9cef1f39a7fc2db1579051f227d03ec2cad23d2 (diff)
downloadqxmpp-68cb4de062512048089350d6dc8f1f5f5d75944e.tar.gz
rework html docs generation
-rw-r--r--qxmpp.pro15
1 files changed, 7 insertions, 8 deletions
diff --git a/qxmpp.pro b/qxmpp.pro
index 05ea6e58..e85c59a3 100644
--- a/qxmpp.pro
+++ b/qxmpp.pro
@@ -7,17 +7,16 @@ SUBDIRS = src
android {
} else {
SUBDIRS += tests examples doc
- INSTALLS += htmldocs
+ INSTALLS += docs
}
CONFIG += ordered
-# Documentation generation
-docs.commands = cd doc/ && $(QMAKE) && $(MAKE) docs
-
-# Install rules
-htmldocs.files = doc/html
-htmldocs.path = $$PREFIX/share/doc/qxmpp
-htmldocs.CONFIG += no_check_exist directory
+# HTML documentation
+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
QMAKE_EXTRA_TARGETS += docs