summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2011-01-10 15:29:58 +0000
committerBen Hutchings <bhutchings@solarflare.com>2011-01-10 16:34:33 +0000
commitf5259c1b076d046f55be987adad67e1e2644a009 (patch)
treec9630797cb6a670bdff436ac2c52020f99f90bca
parentb791ecb3c4bb6308c48ca8341d1bca7f8e82de79 (diff)
downloadethtool-f5259c1b076d046f55be987adad67e1e2644a009.tar.gz
ethtool.8: Substitute version at configure time
Rename ethtool.8 to ethtool.8.in and let autoconf set the version. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
-rw-r--r--configure.ac2
-rw-r--r--ethtool.8.in (renamed from ethtool.8)2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 9bc8c26..a96fd4d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -29,5 +29,5 @@ dnl Checks for library functions.
AC_HEADER_STDC
AC_CHECK_FUNCS(socket strtol)
-AC_CONFIG_FILES([Makefile ethtool.spec])
+AC_CONFIG_FILES([Makefile ethtool.spec ethtool.8])
AC_OUTPUT
diff --git a/ethtool.8 b/ethtool.8.in
index 8c2137b..75f63ba 100644
--- a/ethtool.8
+++ b/ethtool.8.in
@@ -85,7 +85,7 @@
. hy \\n(HY
..
-.TH ETHTOOL 8 "January 2011" "Ethtool version 2.6.37"
+.TH ETHTOOL 8 "January 2011" "Ethtool version @VERSION@"
.SH NAME
ethtool \- Display or change ethernet card settings
.SH SYNOPSIS