summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220>2012-07-11 19:03:59 +0000
committersleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220>2012-07-11 19:03:59 +0000
commit5cd62374be374312630caa944809f687af83e708 (patch)
treedbd5a3061744f9b87a1fef3660a3337d49007957
parent64247fe4fbce807bf4c9e00a35db458cd7d1d727 (diff)
downloadnavit-5cd62374be374312630caa944809f687af83e708.tar.gz
Fix:manpage:Update manpage, installation by CMake
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5187 ffa7fe5e-494d-0410-b361-a75ebd5db220
-rwxr-xr-xCMakeLists.txt1
-rw-r--r--man/CMakeLists.txt1
-rw-r--r--man/navit.117
3 files changed, 13 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a0974ac32..2733e2e0b 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -30,6 +30,7 @@ set(BIN_DIR bin)
set(SHARE_DIR share/navit)
set(LOCALE_DIR share/locale)
set(IMAGE_DIR share/navit/xpm)
+set(MAN_DIR share/man/man1)
# LIB_DIR
IF(UNIX AND NOT ANDROID AND NOT APPLE)
IF (NOT LIBDIR)
diff --git a/man/CMakeLists.txt b/man/CMakeLists.txt
index e69de29bb..ceb2ca3c9 100644
--- a/man/CMakeLists.txt
+++ b/man/CMakeLists.txt
@@ -0,0 +1 @@
+INSTALL(FILES maptool.1 navit.1 DESTINATION ${MAN_DIR})
diff --git a/man/navit.1 b/man/navit.1
index 80608bf68..5deed88d6 100644
--- a/man/navit.1
+++ b/man/navit.1
@@ -3,11 +3,11 @@
navit \- The modular touchscreen-friendly vector based navigation software.
.SH SYNOPSIS
.B navit
-[\-h] [\-v] [\-c config file]
+[\-h] [\-v] [\-d <debuglevel> ] [\-c <config file>]
.SH DESCRIPTION
Navit is a open source (GPL) car navigation system with routing engine.
-It's modular design is capable of using vector maps of various formats
+Its modular design is capable of using vector maps of various formats
for routing and rendering of the displayed map. It's even possible to
use multiple maps at a time.
@@ -33,13 +33,18 @@ Or visit us on IRC : #navit on the freenode network
.SH OPTIONS
.TP
\-h
-display a short help text and exit
+Display a short help text and exit.
.TP
\-v
-display the version number and exit
+Display the version number and exit.
.TP
-\-c
-specify the config file (navit.xml) to use
+\-d <debuglevel>
+Increase debugging output. Debuglevel 0 is the default, higher values
+will print more debugging output.
+.TP
+\-c <config file>
+Specify the config file (navit.xml) to use. If not specified, Navit will
+use a default config file.
.SH BUGS
Should you find one, please report it :
http://trac.navit-project.org