Changed src.pro to pick binary from project root.
authorJukka Saastamoinen <juksa@czc6303cj1.ixonos.local>
Thu, 8 Apr 2010 08:48:45 +0000 (11:48 +0300)
committerJukka Saastamoinen <juksa@czc6303cj1.ixonos.local>
Thu, 8 Apr 2010 08:48:45 +0000 (11:48 +0300)
src/src.pro

index 18d6983..608a6af 100644 (file)
@@ -1,36 +1,44 @@
-# -------------------------------------------------
+#-------------------------------------------------
+#
 # Project created by QtCreator 2010-03-26T07:57:35
-# -------------------------------------------------
-TARGET = situare
+#
+#-------------------------------------------------
+
+TARGET = ../situare
 TEMPLATE = app
+
+
 SOURCES += main.cpp \
-    ui/mainwindow.cpp \
-    ui/mapviewscreen.cpp \
-    ui/listviewscreen.cpp
-HEADERS += ui/mainwindow.h \
-    ui/mapviewscreen.h \
-    ui/listviewscreen.h
+        ui/mainwindow.cpp \
+        ui/mapviewscreen.cpp \
+        ui/listviewscreen.cpp
+HEADERS  += ui/mainwindow.h \
+        ui/mapviewscreen.h \
+        ui/listviewscreen.h
 
 # -----------------------------------------------------------------
-# Debian packetizing additions
+#                      Debian packetizing additions
 # -----------------------------------------------------------------
-unix { 
-    # VARIABLES
-    isEmpty(PREFIX):PREFIX = /usr/local
+unix {
+#VARIABLES
+    isEmpty(PREFIX) {
+        PREFIX = /usr
+    }
+BINDIR = $$PREFIX/bin
+DATADIR =$$PREFIX/share
 
-    BINDIR = $$PREFIX/bin
-    DATADIR = $$PREFIX/share
+DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"
 
-    DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"
+#MAKE INSTALL
 
-    # MAKE INSTALL
-    INSTALLS += target desktop icon26
-    target.path = $$BINDIR
+desktop.path = $$DATADIR/applications/hildon
+desktop.files += situare.desktop
+INSTALLS += desktop
 
-    desktop.path = $$DATADIR/applications/hildon
-    desktop.files += $${TARGET}.desktop
+icon26.path = $$DATADIR/icons/hicolor/26x26/apps
+icon26.files += situare.png
+INSTALLS += icon26
 
-    icon26.path = $$DATADIR/icons/hicolor/26x26/apps
-    icon26.files += situare.png
+target.path = $$BINDIR
+INSTALLS += target
 }