blob: c4e51167209bd9ec3cbe7819487909d97721a1e2 (
plain)
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
33
34
35
36
|
diff --git a/ZombieTrackerGPS.pro b/ZombieTrackerGPS.pro
index a2775d3..ca9a48d 100644
--- a/ZombieTrackerGPS.pro
+++ b/ZombieTrackerGPS.pro
@@ -94,7 +94,7 @@ unix {
INSTALL_ROOT=$$(INSTALL_ROOT) # use env variable if set
isEmpty(INSTALL_ROOT) {
- INSTALL_ROOT = /usr/local
+ INSTALL_ROOT = /usr
}
INCLUDEPATH += $$clean_path($$_PRO_FILE_PWD_/../libldutils)
@@ -108,7 +108,7 @@ unix {
CONFIG(debug, debug|release) {
LIBS += -lldutilsd
} else {
- LIBS += -lldutils
+ LIBS += -lldutils -lmarblewidget-qt5
}
manpage.path = $${INSTALL_ROOT}/share/man/man1
@@ -135,10 +135,10 @@ unix {
}
# point the desktop Icon: to the installed icon
- finalroot = $${INSTALL_ROOT}
+ finalroot = $(INSTALL_ROOT)
finalroot ~= s:.*build/:/:
- desktop.path = $${INSTALL_ROOT}/share/applications
- desktop.commands = sed -e "s:Icon=.*:Icon=$${finalroot}/share/$${TARGET}/$${TARGET}.png:" $${PWD}/data/desktop/$${TARGET}.desktop > $${desktop.path}/$${TARGET}.desktop
+ desktop.path = $(INSTALL_ROOT)/usr/share/applications
+ desktop.commands = sed -e "s:Icon=.*:Icon=$${finalroot}/usr/share/$${TARGET}/$${TARGET}.png:" $${PWD}/data/desktop/$${TARGET}.desktop > $${desktop.path}/$${TARGET}.desktop
target.path = $${INSTALL_ROOT}/bin
INSTALLS += target sharedoc manpage desktop docs
|