Add BIN_DIR variable to allow packagers to override it

This commit is contained in:
AsamK 2015-08-31 18:01:55 +02:00
parent b66f466c7a
commit b9c174ba8f
3 changed files with 3 additions and 2 deletions

View File

@ -112,7 +112,7 @@ linux-* {
} }
unix { unix {
target.path = "$${PREFIX}/bin" target.path = "$${BIN_DIR}"
INSTALLS += target INSTALLS += target
data_files.path="$${DATA_DIR}/" data_files.path="$${DATA_DIR}/"

View File

@ -58,7 +58,7 @@ linux-* {
} }
unix { unix {
target.path = "$${PREFIX}/bin" target.path = "$${BIN_DIR}"
INSTALLS += target INSTALLS += target
} }

View File

@ -1,5 +1,6 @@
unix { unix {
isEmpty(PREFIX) { PREFIX = "/usr" } isEmpty(PREFIX) { PREFIX = "/usr" }
isEmpty(BIN_DIR) { BIN_DIR = "$${PREFIX}/bin" }
isEmpty(INC_DIR) { INC_DIR = "$${PREFIX}/include/retroshare06" } isEmpty(INC_DIR) { INC_DIR = "$${PREFIX}/include/retroshare06" }
isEmpty(LIB_DIR) { LIB_DIR = "$${PREFIX}/lib" } isEmpty(LIB_DIR) { LIB_DIR = "$${PREFIX}/lib" }
isEmpty(DATA_DIR) { DATA_DIR = "$${PREFIX}/share/RetroShare06" } isEmpty(DATA_DIR) { DATA_DIR = "$${PREFIX}/share/RetroShare06" }