From: Pablo Neira Ayuso Date: Thu, 22 Aug 2013 11:11:45 +0000 (+0200) Subject: build: add software version to manpage first line at configure stage X-Git-Tag: v1.4.21~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74bd60b23135fa58a6d8423ec2e9f97e08a6b832;p=thirdparty%2Fiptables.git build: add software version to manpage first line at configure stage 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 --- diff --git a/configure.ac b/configure.ac index 52d6b54d..76d0b37b 100644 --- a/configure.ac +++ b/configure.ac @@ -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 diff --git a/iptables/iptables-apply.8 b/iptables/iptables-apply.8.in similarity index 95% rename from iptables/iptables-apply.8 rename to iptables/iptables-apply.8.in index 66eaf57a..cdc9c447 100644 --- a/iptables/iptables-apply.8 +++ b/iptables/iptables-apply.8.in @@ -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 diff --git a/iptables/iptables-restore.8 b/iptables/iptables-restore.8.in similarity index 97% rename from iptables/iptables-restore.8 rename to iptables/iptables-restore.8.in index 8567147a..feb57efa 100644 --- a/iptables/iptables-restore.8 +++ b/iptables/iptables-restore.8.in @@ -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 .\" It is based on the iptables man page. diff --git a/iptables/iptables-save.8 b/iptables/iptables-save.8.in similarity index 97% rename from iptables/iptables-save.8 rename to iptables/iptables-save.8.in index d796a96c..5e939b1a 100644 --- a/iptables/iptables-save.8 +++ b/iptables/iptables-save.8.in @@ -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 .\" It is based on the iptables man page. diff --git a/iptables/iptables-xml.1 b/iptables/iptables-xml.1.in similarity index 97% rename from iptables/iptables-xml.1 rename to iptables/iptables-xml.1.in index 70b2c1fd..7b7878f8 100644 --- a/iptables/iptables-xml.1 +++ b/iptables/iptables-xml.1.in @@ -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 .\" It is based on the iptables-save man page.