added "make install" target -- configurable at qmake run w/ PREFIX=/whatever qmake -o Makefile before build

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2270 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
andrewsteinborn 2010-02-10 08:00:31 +00:00
parent c55f31995a
commit be92a7941a
3 changed files with 11 additions and 5 deletions

View file

@ -1,4 +1,4 @@
CONFIG += qt gui uic qrc resources uitools pluginmgr newsettings
CONFIG += qt gui uic qrc resources uitools pluginmgr newsettings install_rs
QT += network xml script opengl
TEMPLATE = app
TARGET = RetroShare
@ -32,6 +32,12 @@ version_detail_bash_script {
write_version_detail.commands = ./version_detail.sh
}
install_rs {
INSTALLS += binary_rs
binary_rs.path = $$(PREFIX)/usr/bin
binary_rs.files = ./RetroShare
}
#################### Cross compilation for windows under Linux ###################
win32-x-g++ {