summaryrefslogtreecommitdiff
path: root/tools/Makefile.am
diff options
context:
space:
mode:
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