-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.pri
More file actions
32 lines (21 loc) · 825 Bytes
/
install.pri
File metadata and controls
32 lines (21 loc) · 825 Bytes
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
isEmpty(PREFIX){
PREFIX = /usr
}
# Automating generation .qm files from .ts files
CONFIG(release, debug|release) {
!system($$PWD/translate_generation.sh): error("Failed to generate translation")
}
target.path = $${PREFIX}/bin/
desktop_files.path = $${PREFIX}/share/applications/
desktop_files.files = $$PWD/*.desktop
services.path = $${PREFIX}/share/dbus-1/system-services
services.files = $$PWD/*.service
policy.path = $${PREFIX}/share/polkit-1/actions/
policy.files = $${PWD}/*.policy
config.path = $${PREFIX}/share/dbus-1/system.d/
config.files = $${PWD}/*.conf
dman.path = $${PREFIX}/share/dman/
dman.files = $$PWD/dman/*
translations.path = $${PREFIX}/share/$${TARGET}/translations
translations.files = $$PWD/translations/*.qm
INSTALLS += target translations desktop_files services dman config policy