]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
fix manpage build and install.
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>
Wed, 1 Feb 2012 00:16:47 +0000 (22:16 -0200)
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>
Thu, 2 Feb 2012 19:04:29 +0000 (17:04 -0200)
just build and install manpages if tools are enabled.

List stub modules.dep.bin in proper variable.

man/Makefile.am

index 0fb892217b61a448158a5c91d1ac362850abd1b4..875c3a8c492de80951e45f5adf3ffb97bcdddee2 100644 (file)
@@ -1,7 +1,10 @@
 MAN5 = depmod.d.5 modprobe.d.5 modules.dep.5
 MAN8 = depmod.8 insmod.8 lsmod.8 rmmod.8 modprobe.8 modinfo.8
+MAN_STUB = modules.dep.bin.5
 
+if BUILD_TOOLS
 dist_man_MANS = $(MAN5) $(MAN8) $(MAN_STUB)
+endif
 
 EXTRA_DIST = $(MAN5:%.5=%.xml) $(MAN8:%.8=%.xml)