use jtojnar's suggestion, add default install target with PREFIX/BINDIR
This commit is contained in:
parent
278925edb7
commit
660e07ef6c
1 changed files with 8 additions and 4 deletions
12
Jamulus.pro
12
Jamulus.pro
|
@ -302,11 +302,15 @@ DISTFILES_OBOE += libs/oboe/AUTHORS \
|
|||
android/sound.h \
|
||||
android/sound.cpp
|
||||
|
||||
# could this also be done for all platforms?
|
||||
defined(INSTALL_PATH, var) {
|
||||
INSTALLS += target
|
||||
target.path = $$INSTALL_PATH
|
||||
isEmpty(PREFIX) {
|
||||
PREFIX = /usr/local
|
||||
}
|
||||
isEmpty(BINDIR) {
|
||||
BINDIR = bin
|
||||
}
|
||||
BINDIR = $$absolute_path($$BINDIR, $$PREFIX)
|
||||
INSTALLS += target
|
||||
target.path = $$BINDIR
|
||||
}
|
||||
|
||||
RCC_DIR = src/res
|
||||
|
|
Loading…
Reference in a new issue