Changed src.pro to pick binary from project root.
[situare] / src / src.pro
1 #-------------------------------------------------
2 #
3 # Project created by QtCreator 2010-03-26T07:57:35
4 #
5 #-------------------------------------------------
6
7 TARGET = ../situare
8 TEMPLATE = app
9
10
11 SOURCES += main.cpp \
12         ui/mainwindow.cpp \
13         ui/mapviewscreen.cpp \
14         ui/listviewscreen.cpp
15 HEADERS  += ui/mainwindow.h \
16         ui/mapviewscreen.h \
17         ui/listviewscreen.h
18
19 # -----------------------------------------------------------------
20 #                      Debian packetizing additions
21 # -----------------------------------------------------------------
22 unix {
23 #VARIABLES
24     isEmpty(PREFIX) {
25         PREFIX = /usr
26     }
27 BINDIR = $$PREFIX/bin
28 DATADIR =$$PREFIX/share
29
30 DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"
31
32 #MAKE INSTALL
33
34 desktop.path = $$DATADIR/applications/hildon
35 desktop.files += situare.desktop
36 INSTALLS += desktop
37
38 icon26.path = $$DATADIR/icons/hicolor/26x26/apps
39 icon26.files += situare.png
40 INSTALLS += icon26
41
42 target.path = $$BINDIR
43 INSTALLS += target
44 }