summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2013-08-22 13:11:45 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2013-08-22 13:13:16 +0200
commit74bd60b23135fa58a6d8423ec2e9f97e08a6b832 (patch)
treedf3b592868bbedaa4d350d3eb20c8fd4e9f27357
parent674d133d15eda06d6016578f80280425d23b65eb (diff)
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 <pablo@netfilter.org>
-rw-r--r--configure.ac2
-rw-r--r--iptables/iptables-apply.8.in (renamed from iptables/iptables-apply.8)2
-rw-r--r--iptables/iptables-restore.8.in (renamed from iptables/iptables-restore.8)2
-rw-r--r--iptables/iptables-save.8.in (renamed from iptables/iptables-save.8)2
-rw-r--r--iptables/iptables-xml.1.in (renamed from iptables/iptables-xml.1)2
5 files changed, 6 insertions, 4 deletions
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
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
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 <laforge@gnumonks.org>
.\" It is based on the iptables man page.
diff --git a/iptables/iptables-save.8 b/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 <laforge@gnumonks.org>
.\" It is based on the iptables man page.
diff --git a/iptables/iptables-xml.1 b/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 <azez@ufomechanic.net>
.\" It is based on the iptables-save man page.