]> Some of my projects - anidbudpclient.git/commitdiff
More installation fixes.
authorAPTX <marek321@gmail.com>
Sat, 14 May 2011 18:09:33 +0000 (20:09 +0200)
committerAPTX <marek321@gmail.com>
Sat, 14 May 2011 18:09:33 +0000 (20:09 +0200)
anidbudpclient.pro
config.pri [new file with mode: 0644]

index 69473006dc0eedfa550e5363e8e2df8047c785cc..f816385904bec3db6faa73037b1e4a7c58e30fd9 100644 (file)
@@ -6,6 +6,10 @@ QT += network \
 QT -= gui
 TEMPLATE = lib
 TARGET = anidbudpclient
+!win32:VERSION = 0.2.0
+
+include(config.pri)
+
 static { 
     message(anidbpudpclinet: Static build)
        DESTDIR = build-static
@@ -136,18 +140,18 @@ norenameparser {
 }
 
 
-isEmpty(PREFIX)
-{
+isEmpty(PREFIX) {
        PREFIX = install
 }
 
 target.path = $${PREFIX}/lib
 target.files = $$TARGET
 
-headers.path = $${PREFIX}/include/AniDBUdpClient
+
+headers.path = "$${PREFIX}/include/AniDBUdpClient"
 headers.files = $$HEADERS
 
 conv_headers.path = $${PREFIX}
-headers.files = $$CONV_HEADERS
+conv_headers.files = $$CONV_HEADERS
 
 INSTALLS += target headers conv_headers
diff --git a/config.pri b/config.pri
new file mode 100644 (file)
index 0000000..e69de29