blob: a328876f25d024d61084986f914b9ac8998a51b6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
MANPAGES = \
udev.7 \
udevadm.8
XML_FILES = \
${patsubst %.7,%.xml,${patsubst %.8,%.xml,$(MANPAGES)}}
XSLTPROC_FLAGS = \
--nonet \
--stringparam man.output.quietly 1 \
--stringparam funcsynopsis.style ansi \
--stringparam man.th.extra1.suppress 1 \
--stringparam man.authors.section.enabled 0 \
--stringparam man.copyright.section.enabled 0
man_MANS = \
$(MANPAGES)
noinst_DATA = \
$(XML_FILES)
CLEANFILES = \
$(MANPAGES)
XSLTPROC_PROCESS_MAN = \
$(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
$(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
%.7: %.xml
$(XSLTPROC_PROCESS_MAN)
%.8: %.xml
$(XSLTPROC_PROCESS_MAN)
|