2 # Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
4 Description: supply manual page for program that doesn't have one
5 Author: Jay Berkenbilt <qjb@debian.org>
7 https://unicode-org.atlassian.net/browse/ICU-7665
8 https://unicode-org.atlassian.net/browse/ICU-7554
11 +++ icu/source/tools/gennorm2/Makefile.in.orig
13 +## Makefile.in for ICU - tools/gennorm2
14 +## Copyright (C) 2016 and later: Unicode, Inc. and others.
15 +## License & terms of use: http://www.unicode.org/copyright.html
16 +## Copyright (c) 2009-2011, International Business Machines Corporation and
17 +## others. All Rights Reserved.
18 +## Steven R. Loomis/Markus W. Scherer
20 +## Source directory information
22 +top_srcdir = @top_srcdir@
26 +include $(top_builddir)/icudefs.mk
28 +## Build directory information
29 +subdir = tools/gennorm2
31 +TARGET_STUB_NAME = gennorm2
33 +## Extra files to remove for 'make clean'
34 +CLEANFILES = *~ $(DEPS)
36 +## Target information
37 +TARGET = $(BINDIR)/$(TARGET_STUB_NAME)$(EXEEXT)
39 +CPPFLAGS += -I$(srcdir) -I$(top_srcdir)/common -I$(srcdir)/../toolutil
40 +LIBS = $(LIBICUTOOLUTIL) $(LIBICUI18N) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M)
42 +OBJECTS = gennorm2.o n2builder.o
44 +DEPS = $(OBJECTS:.o=.d)
46 +## List of phony targets
47 +.PHONY : all all-local install install-local clean clean-local \
48 +distclean distclean-local dist dist-local check check-local install-man
53 +## List of standard targets
55 +install: install-local
57 +distclean : distclean-local
59 +check: all check-local
63 +install-local: all-local
64 + $(MKINSTALLDIRS) $(DESTDIR)$(sbindir)
65 + $(INSTALL) $(TARGET) $(DESTDIR)$(sbindir)
70 + test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
71 + $(RMV) $(TARGET) $(OBJECTS)
73 +distclean-local: clean-local
76 +check-local: all-local
78 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
79 + cd $(top_builddir) \
80 + && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
82 +$(TARGET) : $(OBJECTS)
83 + $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS)
87 +ifeq (,$(MAKECMDGOALS))
90 +ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
94 --- icu/source/tools/gennorm2/Makefile.in.orig
95 +++ icu/source/tools/gennorm2/Makefile.in
98 TARGET_STUB_NAME = gennorm2
102 +MAN_FILES = $(TARGET_STUB_NAME).$(SECTION)
105 ## Extra files to remove for 'make clean'
106 -CLEANFILES = *~ $(DEPS)
107 +CLEANFILES = *~ $(DEPS) $(MAN_FILES)
109 ## Target information
110 TARGET = $(BINDIR)/$(TARGET_STUB_NAME)$(EXEEXT)
113 check: all check-local
115 -all-local: $(TARGET)
116 +all-local: $(TARGET) $(MAN_FILES)
118 -install-local: all-local
119 +install-local: all-local install-man
120 $(MKINSTALLDIRS) $(DESTDIR)$(sbindir)
121 $(INSTALL) $(TARGET) $(DESTDIR)$(sbindir)
123 +install-man: $(MAN_FILES)
124 + $(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man$(SECTION)
125 + $(INSTALL_DATA) $? $(DESTDIR)$(mandir)/man$(SECTION)
134 +%.$(SECTION): $(srcdir)/%.$(SECTION).in
135 + cd $(top_builddir) \
136 + && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
139 ifeq (,$(MAKECMDGOALS))
143 +++ icu/source/tools/gennorm2/gennorm2.8.in
145 +.\" Hey, Emacs! This is -*-nroff-*- you know...
147 +.\" gennorm2.8: manual page for the gennorm2 utility
149 +.\" Copyright (C) 2005-2006 International Business Machines Corporation and others
151 +.TH GENNORM2 8 "15 March 2010" "ICU MANPAGE" "ICU @VERSION@ Manual"
154 +\- Builds binary data file with Unicode normalization data.
158 +.BR "\-h\fP, \fB\-?\fP, \fB\-\-help"
161 +.BR "\-V\fP, \fB\-\-version"
164 +.BR "\-c\fP, \fB\-\-copyright"
167 +.BR "\-v\fP, \fB\-\-verbose"
170 +.BI "\-u\fP, \fB\-\-unicode" " unicode\-version\-number"
173 +.BI "\-s\fP, \fB\-\-sourcedir" " source\-directory"
176 +.BI "\-o\fP, \fB\-\-output" " output\-filename"
181 +reads text files that define Unicode normalization,
182 +them, and builds a binary data file.
185 +.BR "\-h\fP, \fB\-?\fP, \fB\-\-help"
186 +Print help about usage and exit.
188 +.BR "\-V\fP, \fB\-\-version"
189 +Print the version of
193 +.BR "\-c\fP, \fB\-\-copyright"
194 +Include a copyright notice.
196 +.BR "\-v\fP, \fB\-\-verbose"
197 +Display extra informative messages during execution.
199 +.BR "\-u\fP, \fB\-\-unicode"
200 +Specify Unicode version number, such as 5.2.0.
202 +.BI "\-s\fP, \fB\-\-sourcedir" " source\-directory"
203 +Specify the input directory.
205 +.BI "\-s\fP, \fB\-\-sourcedir" " source\-directory"
206 +Set the name of the output file.
209 +optimize the .nrm file for fast normalization,
210 +which might increase its size (Writes fully decomposed
211 +regular mappings instead of delta mappings.
212 +You should measure the runtime speed to make sure that
213 +this is a good trade-off.)
215 +Copyright (C) 2009-2010 International Business Machines Corporation and others
217 +++ icu/source/tools/icuinfo/Makefile.in.orig
219 +## Makefile.in for ICU - tools/icuinfo
220 +## Copyright (C) 2016 and later: Unicode, Inc. and others.
221 +## License & terms of use: http://www.unicode.org/copyright.html
222 +## Copyright (c) 1999-2015, International Business Machines Corporation and
223 +## others. All Rights Reserved.
226 +## Source directory information
228 +top_srcdir = @top_srcdir@
230 +top_builddir = ../..
232 +include $(top_builddir)/icudefs.mk
234 +## Build directory information
235 +subdir = tools/icuinfo
237 +## Extra files to remove for 'make clean'
238 +CLEANFILES = *~ $(DEPS) $(PLUGIN_OBJECTS) $(PLUGINFILE) $(PLUGIN)
240 +## Target information
241 +TARGET = icuinfo$(EXEEXT)
243 +CPPFLAGS += -I$(top_srcdir)/common -I$(srcdir)/../toolutil -I$(top_srcdir)/tools/ctestfw
244 +CPPFLAGS+= -I$(top_srcdir)/i18n
245 +LIBS = $(LIBICUTOOLUTIL) $(LIBICUI18N) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M)
248 +@PLUGINS_TRUE@PLUGIN_OBJECTS = testplug.o
250 +DEPS = $(OBJECTS:.o=.d)
252 +# pass some information
254 +ICUINFO_OPTS=-i ../../data/out/build/$(ICUDATA_PLATFORM_NAME) -x $(top_builddir)/config/icuinfo.xml -v -K
256 +## List of phony targets
257 +.PHONY : all all-local install install-local clean clean-local \
258 +distclean distclean-local dist dist-local check check-local plugin-check
260 +## Clear suffix list
263 +## List of standard targets
265 +install: install-local
267 +distclean : distclean-local
269 +check: all check-local
271 +all-local: $(TARGET)
273 +install-local: all-local
274 + $(MKINSTALLDIRS) $(DESTDIR)$(bindir)
275 + $(INSTALL) $(TARGET) $(DESTDIR)$(bindir)
280 + test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
281 + $(RMV) $(TARGET) $(OBJECTS)
283 +distclean-local: clean-local
286 +check-local: $(TARGET)
287 + $(INVOKE) ./$(TARGET) $(ICUINFO_OPTS)
289 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
290 + cd $(top_builddir) \
291 + && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
292 +-include Makefile.local
294 +$(TARGET) : $(OBJECTS)
295 + $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS)
298 +PLUGIN=$(LIBPREFIX)plugin.$(SO)
301 +PLUGINDIR=$(shell pwd)
303 +PLUGINFILE=$(PLUGINDIR)/icuplugins$(SO_TARGET_VERSION_MAJOR).txt
305 +CFLAGS+=$(SHAREDLIBCFLAGS)
307 +@PLUGINS_TRUE@HAVE_PLUGINS=yes
309 +ifeq ($(HAVE_PLUGINS),yes)
310 +$(PLUGINFILE): Makefile
311 + echo "$(CURR_FULL_DIR)/$(PLUGIN) myPlugin x=4" > $@
314 +$(PLUGIN): $(PLUGIN_OBJECTS)
315 + $(SHLIB.cc) $(SHAREDLIBCFLAGS) $(LD_SONAME) $(OUTOPT)$@ $^ $(LIBS)
319 +plugin-check: $(PLUGIN) $(PLUGINFILE)
320 + $(INVOKE) ICU_PLUGINS="$(CURR_FULL_DIR)" ./$(TARGET) -v -L
322 +plugin plugin-check $(PLUGIN):
323 + @echo "Plugins are disabled (use --enable-plugins to enable)"
326 +ifeq (,$(MAKECMDGOALS))
329 +ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
334 --- icu/source/tools/icuinfo/Makefile.in.orig
335 +++ icu/source/tools/icuinfo/Makefile.in
337 ## Build directory information
338 subdir = tools/icuinfo
340 +TARGET_STUB_NAME = icuinfo
344 +MAN_FILES = $(TARGET_STUB_NAME).$(SECTION)
347 ## Extra files to remove for 'make clean'
348 -CLEANFILES = *~ $(DEPS) $(PLUGIN_OBJECTS) $(PLUGINFILE) $(PLUGIN)
349 +CLEANFILES = *~ $(DEPS) $(PLUGIN_OBJECTS) $(PLUGINFILE) $(PLUGIN) $(MAN_FILES)
351 ## Target information
352 TARGET = icuinfo$(EXEEXT)
355 ## List of phony targets
356 .PHONY : all all-local install install-local clean clean-local \
357 -distclean distclean-local dist dist-local check check-local plugin-check
358 +distclean distclean-local dist dist-local check check-local plugin-check \
365 check: all check-local
367 -all-local: $(TARGET)
368 +all-local: $(TARGET) $(MAN_FILES)
370 -install-local: all-local
371 +install-local: all-local install-man
372 $(MKINSTALLDIRS) $(DESTDIR)$(bindir)
373 $(INSTALL) $(TARGET) $(DESTDIR)$(bindir)
375 +install-man: $(MAN_FILES)
376 + $(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man$(SECTION)
377 + $(INSTALL_DATA) $? $(DESTDIR)$(mandir)/man$(SECTION)
383 @echo "Plugins are disabled (use --enable-plugins to enable)"
386 +%.$(SECTION): $(srcdir)/%.$(SECTION).in
387 + cd $(top_builddir) \
388 + && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
389 ifeq (,$(MAKECMDGOALS))
393 +++ icu/source/tools/icuinfo/icuinfo.1.in
395 +.\" Hey, Emacs! This is -*-nroff-*- you know...
397 +.\" icuinfo.1: manual page for the icuinfo utility
399 +.\" Copyright (C) 2005-2006 International Business Machines Corporation and others
401 +.TH ICUINFO 1 "1 May 2010" "ICU MANPAGE" "ICU @VERSION@ Manual"
404 +\- Shows some basic info about the current ICU
408 +.BR "\-h\fP, \fB\-?\fP, \fB\-\-help"
411 +.BR "\-V\fP, \fB\-\-version"
414 +.BR "\-c\fP, \fB\-\-copyright"
417 +.BI "\-i\fP, \fB\-\-icudatadir" " directory"
420 +.BR "\-v\fP, \fB\-\-verbose"
423 +.BI "\-L\fP, \fB\-\-list-plugins"
426 +.BI "\-m\fP, \fB\-\-milisecond-time"
429 +.BI "\-K\fP, \fB\-\-cleanup"
433 +prints basic information about the current version of ICU.
436 +.BR "\-h\fP, \fB\-?\fP, \fB\-\-help"
437 +Print help about usage and exit.
439 +.BR "\-V\fP, \fB\-\-version"
440 +Print the version of
444 +.BR "\-c\fP, \fB\-\-copyright"
445 +Embeds the standard ICU copyright into the
448 +.BR "\-v\fP, \fB\-\-verbose"
449 +Display extra informative messages during execution.
451 +.BI "\-i\fP, \fB\-\-icudatadir" " directory"
452 +Look for any necessary ICU data files in
454 +For example, the file
456 +must be located when ICU's data is not built as a shared library.
457 +The default ICU data directory is specified by the environment variable
459 +Most configurations of ICU do not require this argument.
461 +.BI "\-L\fP, \fB\-\-list-plugins"
462 +If specified, list and diagnose issues with ICU plugins.
464 +.BI "\-K\fP, \fB\-\-cleanup"
465 +Attempt to unload plugins before exiting.
467 +.BI "\-m\fP, \fB\-\-milisecond-time"
468 +Print the current UTC time in milliseconds.
470 +Copyright (C) 2010 International Business Machines Corporation and others