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++ {

View File

@ -1,5 +1,5 @@
Retroshare Gui version : 0.5.0 alpha 1
Svn version : 2213
6 2 2010, 21:42:05 (UTC+0100)
Retroshare Gui version :
Svn version : Revision: 2268
Tue Feb 9 18:57:41 EST 2010

View File

@ -22,7 +22,7 @@
#define GUI_VERSION "0.5.0 alpha 1"
#define GUI_REVISION "svn : 2213 date : 21:42:05 02.06.10"
#define GUI_REVISION "Revision: 2268 date : 18:57:43 02.09.10"
#include <QString>