aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2010-08-10 17:29:10 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2010-08-10 17:29:10 +0000
commit4ef4326dc497893c687df258dd93b9cad30dafad (patch)
tree94e13866ae1acf13f8f9fd64b7e8eb2921a1abb1 /doc
parent7105917072682fd7e74bd7eca50ba406dd346225 (diff)
downloadqxmpp-4ef4326dc497893c687df258dd93b9cad30dafad.tar.gz
add rules for generating documentation
Diffstat (limited to 'doc')
-rw-r--r--doc/doc.pri11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/doc.pri b/doc/doc.pri
new file mode 100644
index 00000000..a717d5d2
--- /dev/null
+++ b/doc/doc.pri
@@ -0,0 +1,11 @@
+# Build rules
+docs.commands = cd doc && doxygen
+docs.depends = doc/Doxyfile
+
+# Install rules
+htmldocs.files = doc/html
+htmldocs.path = /usr/share/doc/qxmpp
+htmldocs.CONFIG += no_check_exist directory
+
+QMAKE_EXTRA_TARGETS += docs
+INSTALLS += htmldocs