diff --git a/CMakeLists.txt b/CMakeLists.txt index b5b111f..0dde2cc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -75,3 +75,4 @@ install( ######## Subdirectories add_subdirectory(src) +add_subdirectory(doc) diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt new file mode 100644 index 0000000..f14354e --- /dev/null +++ b/doc/CMakeLists.txt @@ -0,0 +1,6 @@ +install( + FILES + uchardet.1 + DESTINATION + ${DIR_SHARE}/man/man1 +) diff --git a/doc/uchardet.1 b/doc/uchardet.1 new file mode 100644 index 0000000..d8cca5d --- /dev/null +++ b/doc/uchardet.1 @@ -0,0 +1,18 @@ +.TH UCHARDET "1" "July 2011" "uchardet " "User Commands" +.SH NAME +uchardet \- universalchardet (Universal Charset Detector) +.SH DESCRIPTION +uchardet Command Line Tool +.SS "Usage:" +.HP +opencc [\fBOptions\fR] [\fBFile\fR] +.HP +\fB\-v\fR +Print version and build information. +.HP +\fB\-h\fR +Print help text. +.HP +.IP +.PP +uchardet Command Line Tool