diff options
| -rw-r--r-- | qxmpp.pri | 4 | ||||
| -rw-r--r-- | qxmpp.pro | 2 | ||||
| -rw-r--r-- | src/src.pro | 4 |
3 files changed, 7 insertions, 3 deletions
@@ -37,3 +37,7 @@ symbian { QXMPP_LIBRARY_FILE = $${QXMPP_LIBRARY_DIR}/lib$${QXMPP_LIBRARY_NAME}.a } +# Installation prefix +isEmpty(PREFIX) { + unix:PREFIX=/usr/local +} @@ -24,7 +24,7 @@ dist.depends = docs # Install rules htmldocs.files = doc/html -htmldocs.path = $$[QT_INSTALL_PREFIX]/share/doc/qxmpp +htmldocs.path = $$PREFIX/share/doc/qxmpp htmldocs.CONFIG += no_check_exist directory QMAKE_EXTRA_TARGETS += dist docs diff --git a/src/src.pro b/src/src.pro index db9d21c0..f163d288 100644 --- a/src/src.pro +++ b/src/src.pro @@ -181,8 +181,8 @@ SOURCES += \ # Installation headers.files = $$INSTALL_HEADERS -headers.path = $$[QT_INSTALL_PREFIX]/include/qxmpp -target.path = $$[QT_INSTALL_LIBS] +headers.path = $$PREFIX/include/qxmpp +target.path = $$PREFIX/lib INSTALLS += headers target # pkg-config support |
