summaryrefslogtreecommitdiffstats
path: root/iptables
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2019-02-20 14:02:55 +0100
committerFlorian Westphal <fw@strlen.de>2019-02-22 17:00:44 +0100
commitb738ca36777851e8f08c20a1e6c5c6492e934b38 (patch)
treebda5018553d9fa3379173fa83068a0a97c1215b2 /iptables
parent416898e33532206dd41f243f35d38d79a78c9b36 (diff)
doc: Install ip{6,}tables-translate.8 manpages
These are just semantic links to xtables-translate.8. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'iptables')
-rw-r--r--iptables/.gitignore2
-rw-r--r--iptables/Makefile.am5
2 files changed, 7 insertions, 0 deletions
diff --git a/iptables/.gitignore b/iptables/.gitignore
index d0301c6d..c638139b 100644
--- a/iptables/.gitignore
+++ b/iptables/.gitignore
@@ -2,6 +2,7 @@
/ip6tables-save
/ip6tables-restore
/ip6tables-static
+/ip6tables-translate.8
/iptables
/iptables.8
/iptables-extensions.8
@@ -11,6 +12,7 @@
/iptables-restore
/iptables-restore.8
/iptables-static
+/iptables-translate.8
/iptables-xml
/iptables-xml.1
/xtables-multi
diff --git a/iptables/Makefile.am b/iptables/Makefile.am
index 4d59c489..bfaf5e29 100644
--- a/iptables/Makefile.am
+++ b/iptables/Makefile.am
@@ -60,8 +60,10 @@ man_MANS = iptables.8 iptables-restore.8 iptables-save.8 \
iptables-xml.1 ip6tables.8 ip6tables-restore.8 \
ip6tables-save.8 iptables-extensions.8 \
xtables-nft.8 xtables-translate.8 xtables-legacy.8 \
+ iptables-translate.8 ip6tables-translate.8 \
xtables-monitor.8
CLEANFILES = iptables.8 xtables-monitor.8 \
+ iptables-translate.8 ip6tables-translate.8 \
xtables-config-parser.c xtables-config-syntax.c
vx_bin_links = iptables-xml
@@ -92,6 +94,9 @@ iptables-extensions.8: iptables-extensions.8.tmpl ../extensions/matches.man ../e
-e '/@MATCH@/ r ../extensions/matches.man' \
-e '/@TARGET@/ r ../extensions/targets.man' $< >$@;
+iptables-translate.8 ip6tables-translate.8:
+ ${AM_VERBOSE_GEN} echo '.so man8/xtables-translate.8' >$@
+
pkgconfig_DATA = xtables.pc
# Using if..fi avoids an ugly "error (ignored)" message :)