mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-11-23 23:10:57 +07:00
Fix manpage build
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
This commit is contained in:
parent
d4efe353da
commit
d68f655644
@ -7,5 +7,9 @@ SUBDIRS = \
|
||||
keymaps \
|
||||
keymaps-force-release \
|
||||
docs \
|
||||
man \
|
||||
test
|
||||
|
||||
if ENABLE_MANPAGES
|
||||
SUBDIRS += \
|
||||
man
|
||||
endif
|
||||
|
@ -1 +0,0 @@
|
||||
0.1
|
@ -1 +0,0 @@
|
||||
0.1
|
@ -3,3 +3,33 @@ 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)
|
||||
|
Loading…
Reference in New Issue
Block a user