diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2009-01-08 18:03:45 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2009-01-08 18:03:45 +0100 |
commit | 8d67190c5501fd99a71908838ad6d36444234124 (patch) | |
tree | f1f3158747bb612ef4eb44cd81aa6fb9e422291d | |
parent | 0086b8bf9cf74642f6d6d82d9bbaedc80fec1dca (diff) |
doc: put iptables version into manpage
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
-rw-r--r-- | Makefile.am | 4 | ||||
-rw-r--r-- | ip6tables.8.in | 2 | ||||
-rw-r--r-- | iptables.8.in | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am index ced23b37..fd4d93f9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -89,10 +89,10 @@ sbin_PROGRAMS += iptables iptables-multi iptables-restore iptables-save \ endif iptables.8: ${srcdir}/iptables.8.in extensions/matches4.man extensions/targets4.man - ${AM_VERBOSE_GEN} sed -e '/@MATCH@/ r extensions/matches4.man' -e '/@TARGET@/ r extensions/targets4.man' $< >$@; + ${AM_VERBOSE_GEN} sed -e 's/@PACKAGE_AND_VERSION@/${PACKAGE} ${PACKAGE_VERSION}/g' -e '/@MATCH@/ r extensions/matches4.man' -e '/@TARGET@/ r extensions/targets4.man' $< >$@; ip6tables.8: ${srcdir}/ip6tables.8.in extensions/matches6.man extensions/targets6.man - ${AM_VERBOSE_GEN} sed -e '/@MATCH@/ r extensions/matches6.man' -e '/@TARGET@/ r extensions/targets6.man' $< >$@; + ${AM_VERBOSE_GEN} sed -e 's/@PACKAGE_AND_VERSION@/${PACKAGE} ${PACKAGE_VERSION}/g' -e '/@MATCH@/ r extensions/matches6.man' -e '/@TARGET@/ r extensions/targets6.man' $< >$@; extensions/%: ${MAKE} ${AM_MAKEFLAGS} -C $(@D) $(@F) diff --git a/ip6tables.8.in b/ip6tables.8.in index 669a9618..3b473bf3 100644 --- a/ip6tables.8.in +++ b/ip6tables.8.in @@ -1,4 +1,4 @@ -.TH IP6TABLES 8 "Jul 03, 2008" "" "" +.TH IP6TABLES 8 "" "@PACKAGE_AND_VERSION@" "@PACKAGE_AND_VERSION@" .\" .\" Man page written by Andras Kis-Szabo <kisza@sch.bme.hu> .\" It is based on iptables man page. diff --git a/iptables.8.in b/iptables.8.in index 9947da4c..b9d63838 100644 --- a/iptables.8.in +++ b/iptables.8.in @@ -1,4 +1,4 @@ -.TH IPTABLES 8 "Jul 03, 2008" "" "" +.TH IPTABLES 8 "" "@PACKAGE_AND_VERSION@" "@PACKAGE_AND_VERSION@" .\" .\" Man page written by Herve Eychenne <rv@wallfire.org> (May 1999) .\" It is based on ipchains page. |