[hackers] [wmii] Fixed VERSION info in wmiir and wmii.

From: Kris Maglione <jg_AT_suckless.org>
Date: Mon Mar 26 07:42:18 2007

changeset: 2035:bf6795588403
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Mon Mar 26 01:40:47 2007 -0400
summary: Fixed VERSION info in wmiir and wmii.

diff -r 2b1b504576d7 -r bf6795588403 cmd/Makefile
--- a/cmd/Makefile Mon Mar 26 01:26:10 2007 -0400
+++ b/cmd/Makefile Mon Mar 26 01:40:47 2007 -0400
@@ -1,5 +1,6 @@ ROOT=..
 ROOT=..
 include ${ROOT}/mk/hdr.mk
+include ${ROOT}/mk/wmii.mk
 
 DIRS = wmii
 TARG = wmii9menu \
diff -r 2b1b504576d7 -r bf6795588403 cmd/wmii/Makefile
--- a/cmd/wmii/Makefile Mon Mar 26 01:26:10 2007 -0400
+++ b/cmd/wmii/Makefile Mon Mar 26 01:40:47 2007 -0400
@@ -1,5 +1,6 @@ ROOT= ../..
 ROOT= ../..
 include ${ROOT}/mk/hdr.mk
+include ${ROOT}/mk/wmii.mk
 
 TARG = wmii
 
diff -r 2b1b504576d7 -r bf6795588403 cmd/wmii/main.c
--- a/cmd/wmii/main.c Mon Mar 26 01:26:10 2007 -0400
+++ b/cmd/wmii/main.c Mon Mar 26 01:40:47 2007 -0400
@@ -17,7 +17,7 @@
 #include "wmii.h"
 
 static const char
- version[] = "wmii - " VERSION ", ©2007 Kris Maglione\n";
+ version[] = "wmii-"VERSION", ©2007 Kris Maglione\n";
 
 static int (*x_error_handler) (Display *, XErrorEvent *);
 static char *address, *ns_path;
diff -r 2b1b504576d7 -r bf6795588403 cmd/wmiir.c
--- a/cmd/wmiir.c Mon Mar 26 01:26:10 2007 -0400
+++ b/cmd/wmiir.c Mon Mar 26 01:40:47 2007 -0400
@@ -286,7 +286,7 @@ main(int argc, char *argv[]) {
 
         ARGBEGIN{
         case 'v':
- puts("ixpc-" VERSION ", ©2007 Kris Maglione\n");
+ printf("%s-" VERSION ", ©2007 Kris Maglione\n", argv0);
                 exit(0);
         case 'a':
                 address = EARGF(usage());
Received on Mon Mar 26 2007 - 07:42:18 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:56:24 UTC