diff --git a/doc/qbittorrent-nox.1 b/doc/qbittorrent-nox.1 new file mode 100644 index 000000000..42e02e5e0 --- /dev/null +++ b/doc/qbittorrent-nox.1 @@ -0,0 +1,44 @@ +.\" This manpage has been automatically generated by docbook2man +.\" from a DocBook document. This tool can be found at: +.\" . +.TH "QBITTORRENT\-NOX" "1" "January 4th 2009" "Command line Bittorrent client written in C++ / Qt4" "" + +.SH "NAME" +qBittorrent\-nox \- a command line Bittorrent client written in C++ / Qt4 + +.SH "SYNOPSIS" + +\fBqbittorrent\-nox\fR [\-\-webui-port=x] [TORRENT_FILE | URL]... + +\fBqbittorrent\-nox\fR \-\-help + +\fBqbittorrent\-nox\fR \-\-version + +.PP +.SH "DESCRIPTION" + +\fBqBittorrent-nox\fR is an advanced command-line Bittorrent client written in C++ / Qt4, +using the \fBlibtorrent-rasterbar\fR library by Arvid Norberg. qBittorrent\-nox aims +to be a good alternative to other command line bittorrent clients and provides features similar to popular graphical clients. + +qBittorrent\-nox is fast, stable, light and it supports unicode. +It also comes with UPnP port forwarding / NAT-PMP, encryption (Vuze compatible), +FAST extension (mainline) and PeX support (utorrent compatible). + +qBittorrent\-nox is meant to be controlled via its feature-rich Web UI which is accessible as a default on http://localhost:8080. The Web UI access is secured and the default account user name is "admin" with "adminadmin" as a password. + +.SH "OPTIONS" + +\fB--help\fR Prints the command line options. + +\fB--version\fR Prints qbittorrent program version number. + +\fB--webui-port=x\fR Changes Web UI port to x (default: 8080). + +.SH "BUGS" + +If you find a bug, please report it at http://bugs.qbittorrent.org + +.SH "AUTHOR" + +Christophe Dumez diff --git a/doc/qbittorrent.1 b/doc/qbittorrent.1 index 32d8ed035..333685436 100644 --- a/doc/qbittorrent.1 +++ b/doc/qbittorrent.1 @@ -1,7 +1,7 @@ .\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" . -.TH "QBITTORRENT" "1" "September 30th 2009" "Bittorrent client written in C++ / Qt4" "" +.TH "QBITTORRENT" "1" "January 4th 2009" "Bittorrent client written in C++ / Qt4" "" .SH "NAME" qBittorrent \- a Bittorrent client written in C++ / Qt4 @@ -18,8 +18,7 @@ qBittorrent \- a Bittorrent client written in C++ / Qt4 .SH "DESCRIPTION" \fBqBittorrent\fR is an advanced Bittorrent client written in C++ / Qt4, -using the \fBrblibtorrent\fR library by Arvid Norberg. qBittorrent aims -to be a good alternative to all other bittorrent clients out there. qBittorrent +using the \fBlibtorrent-rasterbar\fR library by Arvid Norberg. qBittorrent is similar to uTorrent. qBittorrent is fast, stable, light, it supports unicode and it provides a good integrated search engine. It also comes with UPnP port forwarding / NAT-PMP, encryption (Vuze compatible), FAST extension (mainline) and PeX support (utorrent compatible). diff --git a/src/src.pro b/src/src.pro index 943823862..e12032732 100644 --- a/src/src.pro +++ b/src/src.pro @@ -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