]> Some of my projects - anidbudpclient.git/commitdiff
Add install rules.
authorAPTX <redacted>
Fri, 13 May 2011 23:50:20 +0000 (01:50 +0200)
committerAPTX <redacted>
Fri, 13 May 2011 23:50:20 +0000 (01:50 +0200)
anidbudpclient.pro

index 99a1323..3d63ea6 100644 (file)
@@ -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