netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ben Hutchings <bhutchings@solarflare.com>
To: netdev@vger.kernel.org
Cc: linux-net-drivers@solarflare.com
Subject: [PATCH ethtool 3/7] ethtool.8: Substitute version at configure time
Date: Wed, 12 Jan 2011 16:22:34 +0000	[thread overview]
Message-ID: <1294849354.3946.3.camel@bwh-desktop> (raw)
In-Reply-To: <1294849266.3946.0.camel@bwh-desktop>

Rename ethtool.8 to ethtool.8.in and let autoconf set the version.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>

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
similarity index 99%
rename from ethtool.8
rename to 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
-- 
1.7.3.4



-- 
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.


  parent reply	other threads:[~2011-01-12 16:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-12 16:21 [PATCH ethtool 0/7] Documentation fixes Ben Hutchings
2011-01-12 16:22 ` [PATCH ethtool 1/7] ethtool: Fix spelling and spacing in online help Ben Hutchings
2011-01-12 16:22 ` [PATCH ethtool 2/7] ethtool.8: Update date, version, web site reference Ben Hutchings
2011-01-12 16:22 ` Ben Hutchings [this message]
2011-01-12 16:22 ` [PATCH ethtool 4/7] ethtool.8: Fix obvious spelling errors Ben Hutchings
2011-01-12 16:23 ` [PATCH ethtool 5/7] ethtool.8: Generalise references to network devices, not Ethernet Ben Hutchings
2011-01-12 16:23 ` [PATCH ethtool 6/7] ethtool.8: Reword synopses for consistency and style Ben Hutchings
2011-01-12 16:23 ` [PATCH ethtool 7/7] ethtool.8: Fix capitalisation Ben Hutchings

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1294849354.3946.3.camel@bwh-desktop \
    --to=bhutchings@solarflare.com \
    --cc=linux-net-drivers@solarflare.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).