[Pkg-wmaker-commits] [wmtime] 18/101: wmtime: Remove unnecessary references to current version number.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Mon Aug 24 23:59:24 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch master
in repository wmtime.

commit 99339454c4bb16f1fa418134d800a8eb2ff78202
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Sat Jan 3 16:16:20 2015 -0600

    wmtime: Remove unnecessary references to current version number.
    
    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.
---
 INSTALL  | 7 +++----
 README   | 2 +-
 wmtime.1 | 2 +-
 wmtime.c | 4 ++--
 4 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/INSTALL b/INSTALL
index cff76a8..0573be5 100644
--- a/INSTALL
+++ b/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/README b/README
index ed22a67..d1dfcf1 100644
--- a/README
+++ b/README
@@ -1,4 +1,4 @@
-WMTime-1.1
+WMTime
 --------------------------------------------------------------
 Authors...: Martijn Pieterse (pieterse at xs4all.nl)
        	    Antoine Nulle    (warp at xs4all.nl)
diff --git a/wmtime.1 b/wmtime.1
index 9fb1a89..686c151 100644
--- a/wmtime.1
+++ b/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.c b/wmtime.c
index b23d065..0981de3 100644
--- a/wmtime.c
+++ b/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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmtime.git



More information about the Pkg-wmaker-commits mailing list