1
!maemo5: error(Only include this file for Maemo5 platforms)
2
3
PREFIX = /opt/usr
4
BINDIR = $$PREFIX/bin
5
DATADIR = $$PREFIX/share
6
7
provide_icon.commands = "$$QMAKE_COPY \"$$PWD/qt.png\" \"$$OUT_PWD/$${TARGET}.png\""
8
QMAKE_EXTRA_TARGETS += provide_icon
9
CLEANFILES += $$OUT_PWD/$${TARGET}.png
10
11
icon.CONFIG += no_check_exist
12
icon.files = $$OUT_PWD/$${TARGET}.png
13
icon.path = /usr/share/icons/hicolor/64x64/apps/
14
icon.depends = provide_icon
15
16
desktopfile.path = /usr/share/applications/hildon
17
desktopfile.files = $${TARGET}.desktop
18
19
DEFINES += DATADIR=\\\"$$DATADIR\\\" \
20
        PKGDATADIR=\\\"$$PKGDATADIR\\\"
21
22
target.path = $$BINDIR
23
24
INSTALLS += desktopfile icon
25
26
# Don't install sources on the embedded target
27
INSTALLS -= sources