summaryrefslogtreecommitdiff
path: root/tools/Makefile.am
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2011-01-05 13:38:03 +1000
committerHenrik Rydberg <rydberg@euromail.se>2011-01-05 10:39:25 +0100
commit6fc005d5e1120b376ec02b7f4a6c1554835749b2 (patch)
tree4dbc656fb127dff1840a95fb1e0973a5206e47cc /tools/Makefile.am
parent8a4c03414863cb58ca58b18fe590defe172c0ca3 (diff)
Add man-pages for the various evemu-tools.
Using asciidoc and xmlto, conditional on their availability at configure time. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'tools/Makefile.am')
-rw-r--r--tools/Makefile.am23
1 files changed, 23 insertions, 0 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am
index e845fb2..ca86c07 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -10,3 +10,26 @@ bin_PROGRAMS = \
10INCLUDES=-I$(top_srcdir)/include/ 10INCLUDES=-I$(top_srcdir)/include/
11 11
12AM_LDFLAGS = $(top_builddir)/src/libutouch-evemu.la 12AM_LDFLAGS = $(top_builddir)/src/libutouch-evemu.la
13
14
15# man page generation
16if HAVE_DOCTOOLS
17# actual man pages
18man_pages_sources = evemu-describe.txt evemu-device.txt
19# shadow man pages
20man_pages_shadows = evemu-record.1 evemu-play.1
21
22man_pages = $(man_pages_sources:.txt=.1) $(man_pages_shadows)
23
24SUFFIXES = .1 .txt .xml
25
26.xml.1:
27 @$(XMLTO) man $<
28
29.txt.xml:
30 @$(ASCIIDOC) -b docbook -d manpage -o $@ $<
31
32dist_man_MANS = $(man_pages)
33CLEANFILES = $(dist_man_MANS)
34MAINTAINERCLEANFILES = $(man_pages) *.xml
35endif