-# -------------------------------------------------
+#-------------------------------------------------
+#
# 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
}