summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2019-07-23 15:24:41 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2019-07-29 15:26:18 +0200
commit3dfb01cf14d72c21a15ab69a2767280223b7e3cb (patch)
tree60db71d7d7d7695262983d93cfe86475d4e70601
parent040675d50dbedb2b454d936bbf9b2fa419aece3d (diff)
doc: Install ip{6,}tables-restore-translate.8 man pages
Just like in b738ca3677785 ("doc: Install ip{6,}tables-translate.8 manpages"), create man pages for *-restore-translate tools as semantic links to xtables-translate.8. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
-rw-r--r--iptables/.gitignore2
-rw-r--r--iptables/Makefile.am3
2 files changed, 4 insertions, 1 deletions
diff --git a/iptables/.gitignore b/iptables/.gitignore
index 66c85c76..cd7d87b1 100644
--- a/iptables/.gitignore
+++ b/iptables/.gitignore
@@ -3,6 +3,7 @@
/ip6tables-restore
/ip6tables-static
/ip6tables-translate.8
+/ip6tables-restore-translate.8
/iptables
/iptables.8
/iptables-extensions.8
@@ -13,6 +14,7 @@
/iptables-restore.8
/iptables-static
/iptables-translate.8
+/iptables-restore-translate.8
/iptables-xml
/iptables-xml.1
/xtables-multi
diff --git a/iptables/Makefile.am b/iptables/Makefile.am
index 7ec0da55..21ac7f08 100644
--- a/iptables/Makefile.am
+++ b/iptables/Makefile.am
@@ -57,6 +57,7 @@ man_MANS = iptables.8 iptables-restore.8 iptables-save.8 \
if ENABLE_NFTABLES
man_MANS += xtables-nft.8 xtables-translate.8 xtables-legacy.8 \
iptables-translate.8 ip6tables-translate.8 \
+ iptables-restore-translate.8 ip6tables-restore-translate.8 \
xtables-monitor.8 \
arptables-nft.8 arptables-nft-restore.8 arptables-nft-save.8 \
ebtables-nft.8
@@ -92,7 +93,7 @@ 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:
+iptables-translate.8 ip6tables-translate.8 iptables-restore-translate.8 ip6tables-restore-translate.8:
${AM_VERBOSE_GEN} echo '.so man8/xtables-translate.8' >$@
pkgconfig_DATA = xtables.pc