aboutsummaryrefslogtreecommitdiff
path: root/source/source.pro
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2010-08-10 07:10:44 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2010-08-10 07:10:44 +0000
commit0e9455bc58f89d242b4e58ed00fe88835833a412 (patch)
tree2156e6580546cc754b7d7e1e14054e53ba60b112 /source/source.pro
parent759d8e415e541b0aac7a2ef7df909a770f58e851 (diff)
downloadqxmpp-0e9455bc58f89d242b4e58ed00fe88835833a412.tar.gz
add a pkg-config file for qxmpp
Diffstat (limited to 'source/source.pro')
-rw-r--r--source/source.pro9
1 files changed, 6 insertions, 3 deletions
diff --git a/source/source.pro b/source/source.pro
index 84149ccf..e7961bd5 100644
--- a/source/source.pro
+++ b/source/source.pro
@@ -109,7 +109,10 @@ SOURCES += QXmppUtils.cpp \
xmlrpc.cpp
# Installation
+PREFIX = /usr
headers.files = $$HEADERS
-headers.path = /usr/include/qxmpp
-target.path = /usr/lib
-INSTALLS += headers target
+headers.path = $$PREFIX/include/qxmpp
+pkgconfig.files = qxmpp.pc
+pkgconfig.path = $$PREFIX/lib/pkgconfig
+target.path = $$PREFIX/lib
+INSTALLS += headers pkgconfig target