Fix:manpage:Update manpage, installation by CMake
authorsleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Wed, 11 Jul 2012 19:03:59 +0000 (19:03 +0000)
committersleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Wed, 11 Jul 2012 19:03:59 +0000 (19:03 +0000)
git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@5187 ffa7fe5e-494d-0410-b361-a75ebd5db220

navit/CMakeLists.txt
navit/man/CMakeLists.txt
navit/man/navit.1

index a0974ac..2733e2e 100755 (executable)
@@ -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)
index e69de29..ceb2ca3 100644 (file)
@@ -0,0 +1 @@
+INSTALL(FILES maptool.1 navit.1 DESTINATION ${MAN_DIR})
index 80608bf..5deed88 100644 (file)
@@ -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