Debian Codegraph @

man/Makefile.am

raw ◀ ▶
1 Debian patch touch this file
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 lou_checkyaml.1 \
11 lou_tableinfo.1
12 endif
13
•14 #CLEANFILES = $(man_MANS)
15
16 # The man pages depend on the --help strings and the version number.
17 common_mandeps = $(top_srcdir)/configure.ac
18
19 # We are not distributing the man pages. Otherwise, we would need rules
20 # such as below. The user will have to install HELP2MAN if they want
21 # man pages.
22 # lou_allround.1: $(top_srcdir)/tools/lou_allround.c $(common_mandeps)
23 # cd ../liblouis && $(MAKE) $(AM_MAKEFLAGS) liblouis.la
24 # cd ../gnulib && $(MAKE) $(AM_MAKEFLAGS) libgnu.la
25 # cd ../tools && $(MAKE) $(AM_MAKEFLAGS) lou_allround$(EXEEXT)
26 # $(HELP2MAN) ../tools/lou_allround$(EXEEXT) --info-page=$(PACKAGE) --output=$@
27
28 # Depend on the source, not the binary; we don't need to regenerate the
29 # binary when any source file changes, only the main one.
30 lou_allround.1: $(top_srcdir)/tools/lou_allround.c $(common_mandeps)
31 $(HELP2MAN) ../tools/lou_allround$(EXEEXT) --info-page=$(PACKAGE) \
32 --name="Test every capability of the liblouis library" \
33 --output=$@
34
35 lou_checkhyphens.1: $(top_srcdir)/tools/lou_checkhyphens.c $(common_mandeps)
36 $(HELP2MAN) ../tools/lou_checkhyphens$(EXEEXT) --info-page=$(PACKAGE) \
37 --name="Check the accuracy of hyphenation in liblouis Braille translation tables" \
38 --output=$@
39
40 lou_checktable.1: $(top_srcdir)/tools/lou_checktable.c $(common_mandeps)
41 $(HELP2MAN) ../tools/lou_checktable$(EXEEXT) --info-page=$(PACKAGE) \
42 --name="Test a liblouis Braille translation table" \
43 --output=$@
44
45 lou_debug.1: $(top_srcdir)/tools/lou_debug.c $(common_mandeps)
46 $(HELP2MAN) ../tools/lou_debug$(EXEEXT) --info-page=$(PACKAGE) \
47 --name="A debugger for liblouis Braille translation tables" \
48 --output=$@
49
50 lou_translate.1: $(top_srcdir)/tools/lou_translate.c $(common_mandeps)
51 $(HELP2MAN) ../tools/lou_translate$(EXEEXT) --info-page=$(PACKAGE) \
52 --name="A Braille translator for large scale testing of liblouis Braille translation tables" \
53 --output=$@
54
55 lou_trace.1: $(top_srcdir)/tools/lou_trace.c $(common_mandeps)
56 $(HELP2MAN) ../tools/lou_trace$(EXEEXT) --info-page=$(PACKAGE) \
57 --name="A tool to list all the rules that were used for a Braille translation" \
58 --output=$@
59
60 lou_checkyaml.1: $(top_srcdir)/tools/lou_checkyaml.c $(common_mandeps)
61 $(HELP2MAN) ../tools/lou_checkyaml$(EXEEXT) --info-page=$(PACKAGE) \
62 --name="A tool to check Braille tests defined in a YAML file" \
63 --output=$@
64
65 lou_tableinfo.1: $(top_srcdir)/tools/lou_tableinfo.c $(common_mandeps)
66 $(HELP2MAN) ../tools/lou_tableinfo$(EXEEXT) --info-page=$(PACKAGE) \
67 --name="A tool to query metadata from a liblouis Braille translation table" \
68 --output=$@