]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
build: add software version to manpage first line at configure stage
authorPablo Neira Ayuso <pablo@netfilter.org>
Thu, 22 Aug 2013 11:11:45 +0000 (13:11 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 22 Aug 2013 11:13:16 +0000 (13:13 +0200)
This patch adds the software version to the first line of the
following manpages:

iptables-save.8
iptables-restore.8
iptables-apply.8
iptables-xml.1

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
configure.ac
iptables/iptables-apply.8.in [moved from iptables/iptables-apply.8 with 95% similarity]
iptables/iptables-restore.8.in [moved from iptables/iptables-restore.8 with 97% similarity]
iptables/iptables-save.8.in [moved from iptables/iptables-save.8 with 97% similarity]
iptables/iptables-xml.1.in [moved from iptables/iptables-xml.1 with 97% similarity]

index 52d6b54df6f758e41d00c2236d57fb5b29e3370a..76d0b37bc960724063f83baa2656e33ba0e726b7 100644 (file)
@@ -156,6 +156,8 @@ AC_SUBST([libxtables_vmajor])
 AC_CONFIG_FILES([Makefile extensions/GNUmakefile include/Makefile
        iptables/Makefile iptables/xtables.pc
        iptables/iptables.8 iptables/iptables-extensions.8.tmpl
+       iptables/iptables-save.8 iptables/iptables-restore.8
+       iptables/iptables-apply.8 iptables/iptables-xml.1
        libipq/Makefile libipq/libipq.pc
        libiptc/Makefile libiptc/libiptc.pc
        libiptc/libip4tc.pc libiptc/libip6tc.pc
similarity index 95%
rename from iptables/iptables-apply.8
rename to iptables/iptables-apply.8.in
index 66eaf57a99b30c07aab7638a55b6437e29b489de..cdc9c447091ff68f892b6cf208b67c2d6f7d3124 100644 (file)
@@ -2,7 +2,7 @@
 .\"    Author: Martin F. Krafft
 .\"      Date: Jun 04, 2006
 .\"
-.TH iptables\-apply 8 2006-06-04
+.TH IPTABLES\-APPLY 8 "" "@PACKAGE_STRING@" "@PACKAGE_STRING@"
 .\" disable hyphenation
 .nh
 .SH NAME
similarity index 97%
rename from iptables/iptables-restore.8
rename to iptables/iptables-restore.8.in
index 8567147ac483227d651e774afbd8afe2c839aef0..feb57efa74fe85f48c37bd900192ff2e10d34671 100644 (file)
@@ -1,4 +1,4 @@
-.TH IPTABLES-RESTORE 8 "Jan 04, 2001" "" ""
+.TH IPTABLES-RESTORE 8 "" "@PACKAGE_STRING@" "@PACKAGE_STRING@"
 .\"
 .\" Man page written by Harald Welte <laforge@gnumonks.org>
 .\" It is based on the iptables man page.
similarity index 97%
rename from iptables/iptables-save.8
rename to iptables/iptables-save.8.in
index d796a96ca024c372535fab3d4a46e8ebbd0d7569..5e939b1a58f9455d19dd719ebe1c5c488f0a5648 100644 (file)
@@ -1,4 +1,4 @@
-.TH IPTABLES-SAVE 8 "Jan 04, 2001" "" ""
+.TH IPTABLES-SAVE 8 "" "@PACKAGE_STRING@" "@PACKAGE_STRING@"
 .\"
 .\" Man page written by Harald Welte <laforge@gnumonks.org>
 .\" It is based on the iptables man page.
similarity index 97%
rename from iptables/iptables-xml.1
rename to iptables/iptables-xml.1.in
index 70b2c1fd04eaf8ddcb31561d33dd3a30a3f65c1f..7b7878f8ba10bd73e67be9be0b5884c2f0cebf14 100644 (file)
@@ -1,4 +1,4 @@
-.TH IPTABLES-XML 1 "Jul 16, 2007" "" ""
+.TH IPTABLES-XML 1 "" "@PACKAGE_STRING@" "@PACKAGE_STRING@"
 .\"
 .\" Man page written by Sam Liddicott <azez@ufomechanic.net>
 .\" It is based on the iptables-save man page.