Fix up pkgconfig and qtconfig files 0.1.0
authorAlexander Kanavin <alexander.kanavin@nokia.com>
Fri, 10 Dec 2010 12:11:48 +0000 (14:11 +0200)
committerAlexander Kanavin <alexander.kanavin@nokia.com>
Fri, 10 Dec 2010 12:11:48 +0000 (14:11 +0200)
lib/lib.pro
lib/ofono-qt.prf

index d9217bb..ab8d75a 100644 (file)
@@ -56,10 +56,10 @@ headers.path = $$[QT_INSTALL_PREFIX]/include/ofono-qt
 
 CONFIG += create_pc create_prl
 
-pkgconfig.path = $$[QT_INSTALL_PREFIX]/lib/pkgconfig
-pkgconfig.files = ofono-qt.pc
+QMAKE_PKGCONFIG_DESTDIR = pkgconfig
+QMAKE_PKGCONFIG_INCDIR = $$headers.path
 
 qtconfig.path = $$[QT_INSTALL_PREFIX]/share/qt4/mkspecs/features
 qtconfig.files = ofono-qt.prf
 
-INSTALLS += target headers pkgconfig qtconfig
+INSTALLS += target headers qtconfig
index b447419..80ede41 100644 (file)
@@ -1,9 +1,7 @@
 prefix=/usr
 exec_prefix=$${prefix}
 
-DEPENDPATH += $${prefix}/include
 DEPENDPATH += $${prefix}/include/ofono-qt
-INCLUDEPATH += $${prefix}/include
 INCLUDEPATH += $${prefix}/include/ofono-qt
 LIBS += -L $${exec_prefix}/lib -lofono-qt