-
Notifications
You must be signed in to change notification settings - Fork 0
/
installs.pri
48 lines (38 loc) · 1.71 KB
/
installs.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Monkey Studio Install Project File
include( config.pri )
!build_pass {
isEqual( SYSTEM_QSCINTILLA, 1 ):message( "Using system QScintilla library" )
else:message( "Using integrated QScintilla library" )
message( "You can change qscintilla link type by giving the qmake parameter variable: ('qmake -set system_qscintilla 0' or qmake -set system_qscintilla 1')" )
message( "Defining system_qscintilla=1 will use system wide qscintilla installation, else the integrated one." )
message( "MkS binary will be installed to : $$PACKAGE_PREFIX" )
message( "MkS plugins will be installed to : $$PACKAGE_PLUGINS" )
message( "MkS datas will be installed to : $$PACKAGE_DATAS" )
message( "You can change this by giving qmake parameters variables: prefix, plugins, datas" )
# datas
monkey_datas.path = $${PACKAGE_DATAS}
monkey_datas.files = datas/*
monkey_datas.CONFIG += no_check_exist
# debugger know_list_and_id
#monkey_debuggerIniFile.path = $${PACKAGE_PLUGINS}/GNUdbg
#monkey_debuggerIniFile.files = plugins/debugger/GNUDebugger/file
#monkey_debuggerIniFile.CONFIG += no_check_exist
INSTALLS = monkey_datas
unix:!mac {
# plugins
monkey_plugins.path = $${PACKAGE_PLUGINS}
monkey_plugins.files = bin/plugins/*
monkey_plugins.CONFIG += no_check_exist
# binary
monkey_target.path = $${PACKAGE_PREFIX}
monkey_target.files = bin/$${PACKAGE_TARGET}
monkey_target.CONFIG += no_check_exist
# desktop file
monkey_desktop.path = $${prefix}/share/applications
monkey_desktop.files = links/monkeystudio.desktop
# desktop icon file
monkey_desktopicon.path = $${prefix}/share/pixmaps
monkey_desktopicon.files = links/monkeystudio.png
INSTALLS += monkey_plugins monkey_target monkey_desktop monkey_desktopicon
}
}