-
Notifications
You must be signed in to change notification settings - Fork 1
/
seismicsound-dl-unixinstall.pri
32 lines (26 loc) · 1.24 KB
/
seismicsound-dl-unixinstall.pri
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
unix {
docs.files = \
$$PWD/ABOUT \
$$PWD/AUTHORS \
$$PWD/CHANGELOG \
$$PWD/LIBRARIES \
$$PWD/LICENSE \
$$PWD/LICENSE.GPL-3+ \
$$PWD/translations/docs/* \
translations.files = \
$$PWD/translations/*.qm \
contains(DEFINES, APP_PORTABLE) {
INSTALLS += target docs translations
target.path = /
docs.path = /
translations.path = /translations
}
!contains(DEFINES, APP_PORTABLE) {
INSTALLS += target docs translations
target.path = /usr/bin/
docs.path = /usr/share/$${TARGET}/
translations.path = /usr/share/$${TARGET}/translations/
# you should to determine the location of resources
DEFINES += "APP_RESOURCES_PREFIX='/usr/share/$${TARGET}'"
}
}