1 MAN5 = depmod.d.5 modprobe.d.5 modules.dep.5
2 MAN8 = kmod.8 depmod.8 insmod.8 lsmod.8 rmmod.8 modprobe.8 modinfo.8
3 MAN_STUB = modules.dep.bin.5
5 AM_V_XSLT = $(AM_V_XSLT_$(V))
6 AM_V_XSLT_ = $(AM_V_XSLT_$(AM_DEFAULT_VERBOSITY))
7 AM_V_XSLT_0 = @echo " XSLT " $@;
9 XSLT = $(if $(XSLTPROC), $(XSLTPROC), xsltproc)
12 dist_man_MANS = $(MAN5) $(MAN8) $(MAN_STUB)
13 modules.dep.bin.5: modules.dep.5
16 EXTRA_DIST = $(MAN5:%.5=%.5.xml) $(MAN8:%.8=%.8.xml)
17 CLEANFILES = $(dist_man_MANS)
19 define generate_manpage
20 $(AM_V_XSLT)if [ '$(distconfdir)' != '/lib' ] ; then \
21 sed -e 's|@DISTCONFDIR@|$(distconfdir)|g' $< ; \
23 sed -e '/@DISTCONFDIR@/d' $< ; \
25 sed -e 's|@MODULE_DIRECTORY@|$(module_directory)|g' | \
29 --stringparam man.output.quietly 1 \
30 --param funcsynopsis.style "'ansi'" \
31 http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl -