Make RS installable with "make install"

This commit is contained in:
AsamK 2015-08-22 20:50:30 +02:00
parent fa54fcefdd
commit 6b7a6e2313
6 changed files with 82 additions and 19 deletions

View file

@ -109,6 +109,18 @@ linux-* {
DEFINES *= UBUNTU
}
unix {
isEmpty(PREFIX) { PREFIX = /usr }
isEmpty(DATA_DIR) { DATA_DIR = "$${PREFIX}/share/RetroShare06" }
target.path = "$${PREFIX}/bin"
INSTALLS += target
sound_files.path="$${DATA_DIR}/sounds"
sound_files.files=sounds/*
INSTALLS += sound_files
}
linux-g++ {
OBJECTS_DIR = temp/linux-g++/obj
}
@ -131,12 +143,6 @@ version_detail_bash_script {
}
}
install_rs {
INSTALLS += binary_rs
binary_rs.path = $$(PREFIX)/usr/bin
binary_rs.files = ./RetroShare
}
#################### Cross compilation for windows under Linux ###################
win32-x-g++ {