Merge branch 'bindir' into 'master'
Add support for BINDIR environmental variable See merge request b0/spectral!28
This commit is contained in:
commit
36008c4598
|
@ -59,7 +59,11 @@ unix:!mac:isEmpty(PREFIX) {
|
||||||
message("Install PREFIX not set; using /usr/local. You can change this with 'qmake PREFIX=...'")
|
message("Install PREFIX not set; using /usr/local. You can change this with 'qmake PREFIX=...'")
|
||||||
PREFIX = /usr/local
|
PREFIX = /usr/local
|
||||||
}
|
}
|
||||||
unix:target.path = $$PREFIX/bin
|
unix:!mac:isEmpty(BINDIR) {
|
||||||
|
message("Install BINDIR not set; using PREFIX/bin. You can change this with 'qmake BINDIR=...'")
|
||||||
|
BINDIR = $$PREFIX/bin
|
||||||
|
}
|
||||||
|
unix:target.path = $$BINDIR
|
||||||
win32:target.path = $$PREFIX
|
win32:target.path = $$PREFIX
|
||||||
!isEmpty(target.path): INSTALLS += target
|
!isEmpty(target.path): INSTALLS += target
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue