mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-20 20:19:32 +00:00
ICU-601 more man pages.
X-SVN-Rev: 6869
This commit is contained in:
parent
5cad69f817
commit
13c4a1d7b6
3 changed files with 119 additions and 6 deletions
|
@ -17,6 +17,16 @@ include @platform_make_fragment@
|
|||
## Build directory information
|
||||
subdir = tools/gennames
|
||||
|
||||
##
|
||||
|
||||
SECTION = 8
|
||||
|
||||
MANX_FILES = $(TARGET).$(SECTION)
|
||||
|
||||
ALL_MAN_FILES = $(MANX_FILES)
|
||||
|
||||
##
|
||||
|
||||
ICUDATADIR=$(top_builddir)/data/
|
||||
UNICODEDATADIR=$(top_srcdir)/../data/unidata
|
||||
UNICODEFILE=$(UNICODEDATADIR)/UnicodeData.txt
|
||||
|
@ -44,9 +54,9 @@ OBJECTS = gennames.o
|
|||
DEPS = $(OBJECTS:.o=.d)
|
||||
|
||||
## List of phony targets
|
||||
.PHONY : all all-local install install-local clean clean-local \
|
||||
.PHONY : all all-local install install-local clean clean-local\
|
||||
distclean distclean-local dist dist-local check \
|
||||
check-local build-data
|
||||
check-local build-data install-man
|
||||
|
||||
## Clear suffix list
|
||||
.SUFFIXES :
|
||||
|
@ -59,12 +69,21 @@ distclean : distclean-local
|
|||
dist: dist-local
|
||||
check: all check-local
|
||||
|
||||
all-local: $(TARGET)
|
||||
all-local: $(TARGET) $(ALL_MAN_FILES)
|
||||
|
||||
install-local: all-local build-data
|
||||
$(MKINSTALLDIRS) $(DESTDIR)$(sbindir)
|
||||
$(INSTALL) $(TARGET) $(DESTDIR)$(sbindir)/$(TARGET)
|
||||
|
||||
# man page
|
||||
install-man: install-manx
|
||||
install-manx: $(MANX_FILES)
|
||||
$(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man$(SECTION)
|
||||
$(INSTALL_DATA) $? $(DESTDIR)$(mandir)/man$(SECTION)
|
||||
|
||||
%.$(SECTION): $(srcdir)/%.$(SECTION).in
|
||||
cd $(top_builddir) \
|
||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
||||
|
||||
dist-local:
|
||||
|
||||
|
|
88
icu4c/source/tools/gennames/gennames.8.in
Normal file
88
icu4c/source/tools/gennames/gennames.8.in
Normal file
|
@ -0,0 +1,88 @@
|
|||
.\" Hey, Emacs! This is -*-nroff-*- you know...
|
||||
.\"
|
||||
.\" gennames.8: manual page for the gennames utility
|
||||
.\"
|
||||
.\" Copyright (C) 2000 IBM, Inc. and others.
|
||||
.\"
|
||||
.TH GENRB 8 "13 November 2001" "ICU MANPAGE" "ICU @VERSION@ Manual"
|
||||
.SH NAME
|
||||
.B gennames
|
||||
\- compile Unicode code points names into a data file
|
||||
.SH SYNOPSIS
|
||||
.B gennames
|
||||
[
|
||||
.BR "\-V\fP, \fB\-\-version"
|
||||
]
|
||||
[
|
||||
.BR "\-h\fP, \fB\-?\fP, \fB\-\-help"
|
||||
]
|
||||
[
|
||||
.BR "\-v\fP, \fB\-\-verbose"
|
||||
]
|
||||
[
|
||||
.BR "\-q\fP, \fB\-\-quiet"
|
||||
]
|
||||
[
|
||||
.BI "\-d\fP, \fB\-\-destdir" " destination"
|
||||
]
|
||||
[
|
||||
.BI "\-u\fP, \fB\-\-unicode" " version"
|
||||
]
|
||||
[
|
||||
.BI "\-1\fP, \fB\-\-unicode1-names"
|
||||
]
|
||||
[
|
||||
.IR filename
|
||||
]
|
||||
.SH DESCRIPTION
|
||||
.B genrb
|
||||
reads the Unicode character database from
|
||||
.I filename
|
||||
and produce the file
|
||||
.I unames.dat
|
||||
in its destination directory.
|
||||
Optionally, Unicode 1.0 names can be chosen over Unicode 2.0 names for
|
||||
those code points whose names were changed for Unicode 2.0.
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
.BR \-h\fP, \fB\-?\fP, \fB\-\-help
|
||||
Print help about usage and exit.
|
||||
.TP
|
||||
.BR \-v\fP, \fB\-\-verbose
|
||||
Display extra informative messages during execution.
|
||||
.TP
|
||||
.BR \-q\fP, \fB\-\-quiet
|
||||
Do not display any message during execution.
|
||||
.TP
|
||||
.BI "\-d\fP, \fB\-\-destdir" " destination"
|
||||
Set the destination directory to
|
||||
.IR destination .
|
||||
The default destination directory is specified by the environment variable
|
||||
.BR ICU_DATA
|
||||
or is the location set when ICU was built if
|
||||
.B ICU_DATA
|
||||
is not set.
|
||||
.TP
|
||||
.BI "\-u\fP, \fB\-\-unicode" " version"
|
||||
Mark the character names as belong to the specified
|
||||
.I version
|
||||
of Unicode. The default version is 3.1.1.
|
||||
.TP
|
||||
.BI "\-1\fP, \fB\-\-unicode1-names"
|
||||
Store Unicode 1.0 names instead of Unicode 2.0 names for
|
||||
those code points whose names were changed for Unicode 2.0.
|
||||
.SH ENVIRONMENT
|
||||
.TP 10
|
||||
.B ICU_DATA
|
||||
Specifies the directory containing ICU data. Defaults to
|
||||
.BR @thedatadir@/icu/@VERSION@/ .
|
||||
Some tools in ICU depend on the presence of the trailing slash. It is thus
|
||||
important to make sure that it is present if
|
||||
.B ICU_DATA
|
||||
is set.
|
||||
.SH VERSION
|
||||
@VERSION@
|
||||
.SH COPYRIGHT
|
||||
Copyright (C) 2000-2001 IBM, Inc. and others.
|
||||
.SH SEE ALSO
|
||||
.BR genprops (8)
|
|
@ -80,13 +80,19 @@ does automatically detect UTF-8, UTF-16BE, and UTF-16LE if a byte order mark
|
|||
Set the source directory to
|
||||
.IR source .
|
||||
The default source directory is specified by the environment variable
|
||||
.BR ICU_DATA .
|
||||
.BR ICU_DATA
|
||||
or is the location set when ICU was built if
|
||||
.B ICU_DATA
|
||||
is not set.
|
||||
.TP
|
||||
.BI "\-d\fP, \fB\-\-destdir" " destination"
|
||||
Set the destination directory to
|
||||
.IR destination .
|
||||
The default destination directory is specified by the environment variable
|
||||
.BR ICU_DATA .
|
||||
.BR ICU_DATA
|
||||
or is the location set when ICU was built if
|
||||
.B ICU_DATA
|
||||
is not set.
|
||||
.TP
|
||||
.BI "\-i\fP, \fB\-\-icudatadir" " ICU data directory"
|
||||
Set the directory used to locate any necessary ICU data files to
|
||||
|
@ -113,6 +119,6 @@ is set.
|
|||
.SH VERSION
|
||||
@VERSION@
|
||||
.SH COPYRIGHT
|
||||
Copyright (C) 2000 IBM, Inc. and others.
|
||||
Copyright (C) 2000-2001 IBM, Inc. and others.
|
||||
.SH SEE ALSO
|
||||
.BR pkgdata (8)
|
||||
|
|
Loading…
Add table
Reference in a new issue