2022-01-30 01:43:20 -06:00
|
|
|
#
|
|
|
|
# Qt qmake integration for installing files other than executables
|
|
|
|
# Author: Srivats P
|
|
|
|
#
|
|
|
|
# To install files other than executables, specify them in SHARED variable
|
|
|
|
# and include this file AFTER install.pri
|
|
|
|
#
|
|
|
|
# Example:
|
|
|
|
# SHARED = file1 file2
|
|
|
|
# include(install.pri)
|
|
|
|
# include(shared.pri)
|
|
|
|
#
|
|
|
|
|
|
|
|
macx {
|
|
|
|
shared.path = $${PREFIX}/Ostinato/Ostinato.app/Contents/SharedSupport/
|
|
|
|
} else: unix {
|
2022-07-29 10:24:14 -05:00
|
|
|
shared.path = $${PREFIX}/share/ostinato-controller/
|
2022-01-30 01:43:20 -06:00
|
|
|
} else {
|
|
|
|
shared.path = $${PREFIX}/bin
|
|
|
|
}
|
|
|
|
shared.files = $${SHARED}
|
|
|
|
|
|
|
|
INSTALLS += shared
|
|
|
|
|
|
|
|
# Themes - need a subdir inside shared
|
|
|
|
themes.files = $${THEMES}
|
|
|
|
themes.path = $${shared.path}/themes
|
|
|
|
|
|
|
|
INSTALLS += themes
|