summaryrefslogtreecommitdiff
path: root/man/Makefile.am
blob: ea8d982378d57c2e523a964000631ca8987d2464 (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
36
37
38
39
40
41
42
43
44
45
46
47
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}

XMLPAGES = \
	udev.xml \
	udev.conf.xml \
	udevd.xml \
	udevadm.xml

noinst_DATA = \
	$(XMLPAGES)

EXTRA_DIST = \
	$(XMLPAGES)

MANPAGES = \
	udev.7 \
	udev.conf.5 \
	udevd.8 \
	udevadm.8

man_MANS = \
	$(MANPAGES)

CLEANFILES = \
	$(MANPAGES)

XSLTPROC_FLAGS += \
	--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

XSLTPROC_PROCESS_MAN = \
	$(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<

udev.7: udev.xml
	$(XSLTPROC_PROCESS_MAN)

udev.conf.5: udev.conf.xml
	$(XSLTPROC_PROCESS_MAN)

udevd.8: udevd.xml
	$(XSLTPROC_PROCESS_MAN)

udevadm.8: udevadm.xml
	$(XSLTPROC_PROCESS_MAN)