Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / liblouis / src / man / Makefile.am
1 # Only build man pages if configure found the HELP2MAN tool
2 if HAVE_HELP2MAN
3 man_MANS =                                      \
4         lou_allround.1                          \
5         lou_checkhyphens.1                      \
6         lou_checktable.1                        \
7         lou_debug.1                             \
8         lou_translate.1                         \
9         lou_trace.1
10 endif
11
12 CLEANFILES = $(man_MANS)
13
14 # The man pages depend on the --help strings and the version number.
15 common_mandeps = $(top_srcdir)/configure.ac
16
17 # We are not distributing the man pages otherwise we would need rules
18 # such as below. The user will have to install help2man if they want
19 # man pages.
20 # lou_allround.1: $(top_srcdir)/tools/lou_allround.c $(common_mandeps)
21 #        cd ../liblouis && $(MAKE) $(AM_MAKEFLAGS) liblouis.la
22 #        cd ../gnulib && $(MAKE) $(AM_MAKEFLAGS) libgnu.la
23 #        cd ../tools && $(MAKE) $(AM_MAKEFLAGS) lou_allround$(EXEEXT)
24 #       $(HELP2MAN) ../tools/lou_allround$(EXEEXT) --info-page=$(PACKAGE) --output=$@
25
26 # Depend on the source, not the binary; we don't need to regenerate the
27 # binary when any source file changes, only the main one.
28 lou_allround.1: $(top_srcdir)/tools/lou_allround.c $(common_mandeps)
29         $(HELP2MAN) ../tools/lou_allround$(EXEEXT) --info-page=$(PACKAGE) \
30         --name="Test every capability of the liblouis library" \
31         --output=$@
32
33 lou_checkhyphens.1: $(top_srcdir)/tools/lou_checkhyphens.c $(common_mandeps)
34         $(HELP2MAN) ../tools/lou_checkhyphens$(EXEEXT) --info-page=$(PACKAGE) \
35         --name="Check the accuracy of hyphenation in liblouis Braille translation tables" \
36         --output=$@
37
38 lou_checktable.1: $(top_srcdir)/tools/lou_checktable.c $(common_mandeps)
39         $(HELP2MAN) ../tools/lou_checktable$(EXEEXT) --info-page=$(PACKAGE) \
40         --name="Test a liblouis Braille translation table" \
41         --output=$@
42
43 lou_debug.1: $(top_srcdir)/tools/lou_debug.c $(common_mandeps)
44         $(HELP2MAN) ../tools/lou_debug$(EXEEXT) --info-page=$(PACKAGE) \
45         --name="A debugger for liblouis Braille translation tables" \
46         --output=$@
47
48 lou_translate.1: $(top_srcdir)/tools/lou_translate.c $(common_mandeps)
49         $(HELP2MAN) ../tools/lou_translate$(EXEEXT) --info-page=$(PACKAGE) \
50         --name="A Braille translator for large scale testing of liblouis Braille translation tables" \
51         --output=$@
52
53 lou_trace.1: $(top_srcdir)/tools/lou_trace.c $(common_mandeps)
54         $(HELP2MAN) ../tools/lou_trace$(EXEEXT) --info-page=$(PACKAGE) \
55         --name="A tool to list all the rules that were used for a Braille translation" \
56         --output=$@