Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions vesc_tool.pro
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,35 @@ ios {
CONFIG -= warn_on
QMAKE_APPLE_TARGETED_DEVICE_FAMILY = 1,2
}

unix {
isEmpty(PREFIX) {
PREFIX = /usr/local
}
BINDIR = $$PREFIX/bin
DATADIR = $$PREFIX/share
CONFDIR = /etc
isEmpty(VARDIR) {
VARDIR = /var/lib/$${TARGET}
}

INSTALLS += target config desktop icon32 vardir

target.path = $$BINDIR

config.path = $$CONFDIR
config.files += $${TARGET}.conf

desktop.path = $$DATADIR/applications
desktop.files += $${TARGET}.desktop

icon32.path = $$DATADIR/icons/hicolor/32x32/apps
icon32.files += ./data/32x32/$${TARGET}.png

vardir.path = $$VARDIR
vardir.commands = true
}

CONFIG -= warn_on

contains(ANDROID_TARGET_ARCH,) {
Expand Down