diff options
author | Phil Sutter <phil@nwl.cc> | 2019-07-23 15:24:40 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-07-29 15:24:49 +0200 |
commit | 040675d50dbedb2b454d936bbf9b2fa419aece3d (patch) | |
tree | 676e104e5b148d6c90399da7f9c084e1027b5c73 | |
parent | 06fd5e46d46f7454baa8f9470976002124827e53 (diff) |
doc: Install nft-variant man pages only if enabled
Man pages relevant for nftables backend only (xtables-*, *-translate.8)
were installed even if --disable-nftables was given at configure time.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
-rw-r--r-- | iptables/Makefile.am | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/iptables/Makefile.am b/iptables/Makefile.am index 6f7f428e..7ec0da55 100644 --- a/iptables/Makefile.am +++ b/iptables/Makefile.am @@ -53,13 +53,13 @@ sbin_PROGRAMS += xtables-nft-multi endif 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 + ip6tables-save.8 iptables-extensions.8 if ENABLE_NFTABLES -man_MANS += arptables-nft.8 arptables-nft-restore.8 arptables-nft-save.8 \ - ebtables-nft.8 +man_MANS += xtables-nft.8 xtables-translate.8 xtables-legacy.8 \ + iptables-translate.8 ip6tables-translate.8 \ + xtables-monitor.8 \ + arptables-nft.8 arptables-nft-restore.8 arptables-nft-save.8 \ + ebtables-nft.8 endif CLEANFILES = iptables.8 xtables-monitor.8 \ iptables-translate.8 ip6tables-translate.8 |