summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDom Lachowicz <domlachowicz@gmail.com>2003-10-13 18:05:11 +0000
committerDom Lachowicz <domlachowicz@gmail.com>2003-10-13 18:05:11 +0000
commit6b2cc812272f8010b61c12759782910b85494dc8 (patch)
tree9c8a36201a24949f7ac04bcc5e1373b8350cb30d
parent63a91af0784f922482264886bc2edbe300a1be4b (diff)
downloadenchant-6b2cc812272f8010b61c12759782910b85494dc8.tar.gz
manpage - bug 5915
git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@20869 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
-rw-r--r--Makefile.am2
-rw-r--r--configure.in1
-rw-r--r--doc/Makefile.am7
-rw-r--r--doc/enchant.141
4 files changed, 50 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 9622abf..3e6c3e0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,4 @@
-SUBDIRS=src tests
+SUBDIRS=src tests doc
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = enchant.pc
diff --git a/configure.in b/configure.in
index 09f8d90..b1ee4f4 100644
--- a/configure.in
+++ b/configure.in
@@ -195,6 +195,7 @@ src/ispell/Makefile
src/uspell/Makefile
src/myspell/Makefile
tests/Makefile
+doc/Makefile
])
dnl =============================================================================================
diff --git a/doc/Makefile.am b/doc/Makefile.am
new file mode 100644
index 0000000..7c98c4e
--- /dev/null
+++ b/doc/Makefile.am
@@ -0,0 +1,7 @@
+manonedir = $(prefix)/man/man1
+
+MANPAGES = enchant.1
+
+manone_DATA = $(MANPAGES)
+
+EXTRA_DIST = $(MANPAGES)
diff --git a/doc/enchant.1 b/doc/enchant.1
new file mode 100644
index 0000000..53d77ab
--- /dev/null
+++ b/doc/enchant.1
@@ -0,0 +1,41 @@
+.PU
+.TH enchant 1
+.SH NAME
+Enchant \- a spellchecker
+.SH SYNOPSIS
+.ll +8
+.B enchant [-a] [-l] [-L] [-v]
+.ll -8
+.br
+.SH DESCRIPTION
+.I Enchant is an ispell-compatible spellchecker.
+.SS OPTIONS
+.TP
+.I "\-a"
+List alternatives
+.TP
+.I "\-l"
+List only the misspellings
+.TP
+.I "\-L"
+Includes the line number in the output
+.TP
+.I "\-v"
+Prints the program's version
+.SH Enchant Ordering File
+.TP
+Enchant has a global and a local ordering file. It lets the user specify
+which spelling backend to use for individual languages if you really care
+which backend gets used. It takes the form of:
+*:aspell,myspell,ispell
+en:aspell,myspell,ispell
+fr:myspell,ispell:aspell
+.SH MORE INFORMATION
+http://www.abisource.com/enchant/
+.SH "SEE ALSO"
+.BR aspell(1),
+.BR ispell(1),
+.SH "AUTHOR"
+ Dom Lachowicz
+ WEB: http://www.abisource.com/enchant/
+ MAIL: cinamod@hotmail.com