]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
doc: put iptables version into manpage
authorJan Engelhardt <jengelh@medozas.de>
Thu, 8 Jan 2009 17:03:45 +0000 (18:03 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 8 Jan 2009 17:03:45 +0000 (18:03 +0100)
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Makefile.am
ip6tables.8.in
iptables.8.in

index ced23b37ae708ef5ce9007ac97a6eb361132eec0..fd4d93f9a2c92ef94207fb7793ab79917eac7862 100644 (file)
@@ -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)
index 669a9618ef406125bc26b6a15b97dd48172f17ad..3b473bf3d7f3316bd921aa74c92ee3dddf921430 100644 (file)
@@ -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.
index 9947da4c46aab94961b49b197012065dfe9b57a4..b9d63838981b134d3a655db4d3dc7d5f317bc25b 100644 (file)
@@ -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.