To simplify maintenace, all references to the current version number outside
of the appropriate macro in in wmtime.c have been removed.  Note that this
macro had been WMMON_VERSION, likely a copy/paste error, and has been
renamed to WMTIME_VERSION.
---
 wmtime/INSTALL  | 7 +++----
 wmtime/README   | 2 +-
 wmtime/wmtime.1 | 2 +-
 wmtime/wmtime.c | 4 ++--
 4 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/wmtime/INSTALL b/wmtime/INSTALL
index cff76a8..0573be5 100644
--- a/wmtime/INSTALL
+++ b/wmtime/INSTALL
@@ -7,11 +7,10 @@ Nothing particular, but a computer might come in handy doh ;-)
 
 Installation
 --------------------------------------------------------------
-1)  % tar -zxvf wmtime-1.1.tar.gz
-2)  % make
-3)  % make install (as root)
+1)  % make
+2)  % make install (as root)
 
-4)* WMTime uses month and weekday abbreviations from the
+3)* WMTime uses month and weekday abbreviations from the
     currently set locale.  If these abbreviations do not
     use Latin alphabet characters, then WMTime defaults to
     US/English.
diff --git a/wmtime/README b/wmtime/README
index ed22a67..d1dfcf1 100644
--- a/wmtime/README
+++ b/wmtime/README
@@ -1,4 +1,4 @@
-WMTime-1.1
+WMTime
 --------------------------------------------------------------
 Authors...: Martijn Pieterse ([email protected])
                    Antoine Nulle    ([email protected])
diff --git a/wmtime/wmtime.1 b/wmtime/wmtime.1
index 9fb1a89..686c151 100644
--- a/wmtime/wmtime.1
+++ b/wmtime/wmtime.1
@@ -17,7 +17,7 @@
 .\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
 .\" USA.
 .\"
-.TH WMTIME 1 "January 2015" "WMTIME 1.1"
+.TH WMTIME 1 "January 2015" "WMTIME"
 
 .SH NAME
 wmtime \- Window Maker dockapp that displays the time and date
diff --git a/wmtime/wmtime.c b/wmtime/wmtime.c
index b23d065..0981de3 100644
--- a/wmtime/wmtime.c
+++ b/wmtime/wmtime.c
@@ -92,7 +92,7 @@ const char* default_left_action = NULL;
 const char* default_middle_action = NULL;
 const char* default_right_action = NULL;
 
-#define WMMON_VERSION "1.1"
+#define WMTIME_VERSION "1.1"
 
   /********************/
  /* Global Variables */
@@ -697,7 +697,7 @@ void usage(char *name) {
 
\*******************************************************************************/
 
 void printversion(void) {
-       printf("WMTime version %s\n", WMMON_VERSION);
+       printf("WMTime version %s\n", WMTIME_VERSION);
 }
 
 /* vim: sw=4 ts=4 columns=82
-- 
2.1.0


-- 
To unsubscribe, send mail to [email protected].

Reply via email to