From c01b256850c370a339a67bb339aad5d53fb4f79a Mon Sep 17 00:00:00 2001 From: APTX Date: Sat, 14 May 2011 01:50:20 +0200 Subject: [PATCH] Add install rules. --- anidbudpclient.pro | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/anidbudpclient.pro b/anidbudpclient.pro index 99a1323..3d63ea6 100644 --- a/anidbudpclient.pro +++ b/anidbudpclient.pro @@ -134,3 +134,20 @@ norenameparser { DEFINES += ANIDBUDPCLIENT_NO_RENAMEPARSER message(Disabled renameparser support) } + + +isEmpty(PREFIX) +{ + PREFIX = install +} + +target.path = $${PREFIX}/lib +target.files $$TARGET + +headers.path = $${PREFIX}/include/AniDBUdpClient +headers.files = $$HEADERS + +conv_headers.path = $${PREFIX} +headers.files = $$CONV_HEADERS + +INSTALLS += target headers conv_headers -- 2.52.0