summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--man/Makefile.am11
-rw-r--r--man/depmod.8.xml (renamed from man/depmod.xml)0
-rw-r--r--man/depmod.d.5.xml (renamed from man/depmod.d.xml)0
-rw-r--r--man/insmod.8.xml (renamed from man/insmod.xml)0
-rw-r--r--man/kmod.8.xml (renamed from man/kmod.xml)0
-rw-r--r--man/lsmod.8.xml (renamed from man/lsmod.xml)0
-rw-r--r--man/modinfo.8.xml (renamed from man/modinfo.xml)0
-rw-r--r--man/modprobe.8.xml (renamed from man/modprobe.xml)0
-rw-r--r--man/modprobe.d.5.xml (renamed from man/modprobe.d.xml)0
-rw-r--r--man/modules.dep.5.xml (renamed from man/modules.dep.xml)0
-rw-r--r--man/rmmod.8.xml (renamed from man/rmmod.xml)0
11 files changed, 9 insertions, 2 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
index f550091..d62ff21 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -13,10 +13,10 @@ dist_man_MANS = $(MAN5) $(MAN8) $(MAN_STUB)
modules.dep.bin.5: modules.dep.5
endif
-EXTRA_DIST = $(MAN5:%.5=%.xml) $(MAN8:%.8=%.xml)
+EXTRA_DIST = $(MAN5:%.5=%.5.xml) $(MAN8:%.8=%.8.xml)
CLEANFILES = $(dist_man_MANS)
-%.5 %.8: %.xml
+define generate_manpage
$(AM_V_XSLT)if [ '$(distconfdir)' != '/lib' ] ; then \
sed -e 's|@DISTCONFDIR@|$(distconfdir)|g' $< ; \
else \
@@ -29,3 +29,10 @@ CLEANFILES = $(dist_man_MANS)
--stringparam man.output.quietly 1 \
--param funcsynopsis.style "'ansi'" \
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl -
+endef
+
+%.5: %.5.xml
+ $(generate_manpage)
+
+%.8: %.8.xml
+ $(generate_manpage)
diff --git a/man/depmod.xml b/man/depmod.8.xml
index fce2a4a..fce2a4a 100644
--- a/man/depmod.xml
+++ b/man/depmod.8.xml
diff --git a/man/depmod.d.xml b/man/depmod.d.5.xml
index b07e6a2..b07e6a2 100644
--- a/man/depmod.d.xml
+++ b/man/depmod.d.5.xml
diff --git a/man/insmod.xml b/man/insmod.8.xml
index 3ebdccd..3ebdccd 100644
--- a/man/insmod.xml
+++ b/man/insmod.8.xml
diff --git a/man/kmod.xml b/man/kmod.8.xml
index 0706ad5..0706ad5 100644
--- a/man/kmod.xml
+++ b/man/kmod.8.xml
diff --git a/man/lsmod.xml b/man/lsmod.8.xml
index 588f228..588f228 100644
--- a/man/lsmod.xml
+++ b/man/lsmod.8.xml
diff --git a/man/modinfo.xml b/man/modinfo.8.xml
index b6c4d60..b6c4d60 100644
--- a/man/modinfo.xml
+++ b/man/modinfo.8.xml
diff --git a/man/modprobe.xml b/man/modprobe.8.xml
index 4d1fd59..4d1fd59 100644
--- a/man/modprobe.xml
+++ b/man/modprobe.8.xml
diff --git a/man/modprobe.d.xml b/man/modprobe.d.5.xml
index 2bf6537..2bf6537 100644
--- a/man/modprobe.d.xml
+++ b/man/modprobe.d.5.xml
diff --git a/man/modules.dep.xml b/man/modules.dep.5.xml
index 8ef6d8b..8ef6d8b 100644
--- a/man/modules.dep.xml
+++ b/man/modules.dep.5.xml
diff --git a/man/rmmod.xml b/man/rmmod.8.xml
index 67bcbed..67bcbed 100644
--- a/man/rmmod.xml
+++ b/man/rmmod.8.xml