~online-accounts/libaccounts-qt/13.04

106 by Alberto Mardegan
pkg-config: generate .pc file at installation time
1
# Include this file after defining the pkgconfig.files variable
2
3
!isEmpty(pkgconfig.files) {
112 by Ken VanDine
More out of tree fixes and use QMAKE_SUBSTITUTE instead of sed
4
    QMAKE_SUBSTITUTES += $${pkgconfig.files}.in
106 by Alberto Mardegan
pkg-config: generate .pc file at installation time
5
    pkgconfig.CONFIG = no_check_exist
6
    pkgconfig.path  = $${INSTALL_LIBDIR}/pkgconfig
7
    QMAKE_EXTRA_TARGETS += pkgconfig
8
9
    QMAKE_CLEAN += $${pkgconfig.files}
10
}