diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2009-05-26 13:21:55 +0200 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2009-05-26 13:22:17 +0200 |
commit | c304d776e9bf546829c90d0cbaeae6a3a79ef9db (patch) | |
tree | 950b13a4da86f53fd4efa437d08a66860b16456b /extensions | |
parent | 74670b185f8f92c499e1a67139405524da32fc66 (diff) |
manpages: do not include v4-only modules in ip6tables manpage
References: http://bugs.debian.org/529954
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/GNUmakefile.in | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/extensions/GNUmakefile.in b/extensions/GNUmakefile.in index 66a4f46a..8d7f21de 100644 --- a/extensions/GNUmakefile.in +++ b/extensions/GNUmakefile.in @@ -161,7 +161,7 @@ man_run = \ ${AM_VERBOSE_GEN} \ for ext in $(1); do \ f="${srcdir}/libxt_$$ext.man"; \ - if [ -f "$$f" ]; then \ + if [ -f "$$f" ] && grep -q "$(3)" "$$f"; then \ echo ".SS $$ext"; \ cat "$$f"; \ continue; \ @@ -175,13 +175,13 @@ man_run = \ done >$@; matches4.man: .initext4.dd $(wildcard ${srcdir}/lib*.man) - $(call man_run,$(call ex_matches,${pfx_build_mod} ${pf4_build_mod}),ip) + $(call man_run,$(call ex_matches,${pfx_build_mod} ${pf4_build_mod}),ip,NFPROTO_IPV4) matches6.man: .initext6.dd $(wildcard ${srcdir}/lib*.man) - $(call man_run,$(call ex_matches,${pfx_build_mod} ${pf6_build_mod}),ip6) + $(call man_run,$(call ex_matches,${pfx_build_mod} ${pf6_build_mod}),ip6,NFPROTO_IPV6) targets4.man: .initext4.dd $(wildcard ${srcdir}/lib*.man) - $(call man_run,$(call ex_targets,${pfx_build_mod} ${pf4_build_mod}),ip) + $(call man_run,$(call ex_targets,${pfx_build_mod} ${pf4_build_mod}),ip,NFPROTO_IPV4) targets6.man: .initext6.dd $(wildcard ${srcdir}/lib*.man) - $(call man_run,$(call ex_targets,${pfx_build_mod} ${pf6_build_mod}),ip6) + $(call man_run,$(call ex_targets,${pfx_build_mod} ${pf6_build_mod}),ip6,NFPROTO_IPV6) |