mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-31 18:29:02 -04:00
Make RS installable with "make install"
This commit is contained in:
parent
fa54fcefdd
commit
6b7a6e2313
6 changed files with 82 additions and 19 deletions
|
@ -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++ {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue