2012-01-12 22:34:09 +07:00
|
|
|
MAN5 = depmod.d.5 modprobe.d.5 modules.dep.5
|
2012-01-12 23:20:10 +07:00
|
|
|
MAN8 = depmod.8 insmod.8 lsmod.8 rmmod.8 modprobe.8 modinfo.8
|
2012-02-01 07:16:47 +07:00
|
|
|
MAN_STUB = modules.dep.bin.5
|
2012-01-12 20:48:21 +07:00
|
|
|
|
2012-02-01 07:16:47 +07:00
|
|
|
if BUILD_TOOLS
|
2012-01-12 22:34:09 +07:00
|
|
|
dist_man_MANS = $(MAN5) $(MAN8) $(MAN_STUB)
|
2012-02-01 07:16:47 +07:00
|
|
|
endif
|
2012-01-12 20:48:21 +07:00
|
|
|
|
|
|
|
EXTRA_DIST = $(MAN5:%.5=%.xml) $(MAN8:%.8=%.xml)
|
2012-01-12 22:34:09 +07:00
|
|
|
|
2012-01-12 20:48:21 +07:00
|
|
|
XSLTPROC_FLAGS = \
|
|
|
|
--nonet \
|
|
|
|
--param funcsynopsis.style "'ansi'"
|
|
|
|
|
|
|
|
%.5 %.8: %.xml
|
|
|
|
$(AM_V_GEN)$(XSLTPROC) $(XSLTPROC_FLAGS) \
|
|
|
|
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
|