From 682e18e9df42b05ea76dbdf2751eb0d69647c9d4 Mon Sep 17 00:00:00 2001 From: Michael Zanetti Date: Mon, 13 Aug 2018 23:11:04 +0200 Subject: [PATCH] only install relevant headers --- .../libnymea-remoteproxyclient.pro | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/libnymea-remoteproxyclient/libnymea-remoteproxyclient.pro b/libnymea-remoteproxyclient/libnymea-remoteproxyclient.pro index 49167c4..6b6172c 100644 --- a/libnymea-remoteproxyclient/libnymea-remoteproxyclient.pro +++ b/libnymea-remoteproxyclient/libnymea-remoteproxyclient.pro @@ -2,16 +2,11 @@ include(../nymea-remoteproxy.pri) TEMPLATE = lib TARGET = nymea-remoteproxyclient +target.path = /usr/lib/ include(libnymea-remoteproxyclient.pri) -# install header file with relative subdirectory -for(header, HEADERS) { - path = /usr/include/nymea-remoteproxyclient/$${dirname(header)} - eval(headers_$${path}.files += $${header}) - eval(headers_$${path}.path = $${path}) - eval(INSTALLS *= headers_$${path}) -} +installheaders.files = remoteproxyconnection.h +installheaders.path = /usr/include/nymea-remoteproxyclient/ -target.path = /usr/lib/ -INSTALLS += target +INSTALLS += target installheaders