- Rename GUI-less qBittorrent executable to "qbittorrent-nox", with its own man page

This commit is contained in:
Christophe Dumez 2010-01-04 22:29:48 +00:00
commit 118ea6093d
3 changed files with 56 additions and 4 deletions

View file

@ -7,7 +7,6 @@ DEBUG_MODE = 1
# Global
TEMPLATE = app
TARGET = qbittorrent
CONFIG += qt \
thread
@ -44,7 +43,11 @@ contains(DEBUG_MODE, 0) {
}
# Man page
contains(DEFINES, DISABLE_GUI) {
man.files = ../doc/qbittorrent-nox.1
} else {
man.files = ../doc/qbittorrent.1
}
man.path = $$PREFIX/share/man/man1/
INSTALLS += man
@ -87,6 +90,12 @@ contains(DEBUG_MODE, 0) {
icon192
}
contains(DEFINES, DISABLE_GUI) {
TARGET = qbittorrent-nox
} else {
TARGET = qbittorrent
}
# QMAKE_CXXFLAGS_RELEASE += -fwrapv
# QMAKE_CXXFLAGS_DEBUG += -fwrapv
unix:QMAKE_LFLAGS_SHAPP += -rdynamic