Update release version
authorAlexey Gladkov <legion@altlinux.org>
Mon, 24 Mar 2008 16:46:03 +0000 (19:46 +0300)
committerAlexey Gladkov <legion@altlinux.org>
Mon, 24 Mar 2008 16:46:03 +0000 (19:46 +0300)
Signed-off-by: Alexey Gladkov <legion@altlinux.org>
configure.ac
src/dumpkeys.c
src/fgconsole.c
src/loadkeys.c
src/loadkeys.y
src/showkey.c
src/version.h

index 50a250d..5cdff3e 100644 (file)
@@ -2,7 +2,7 @@
 # Process this file with autoconf to produce a configure script.
 
 AC_PREREQ(2.59)
-AC_INIT(kbd, 1.14, gladkov.alexey@gmail.com)
+AC_INIT(kbd, 1.14.1, gladkov.alexey@gmail.com)
 AC_CONFIG_SRCDIR([src/showkey.c])
 AC_CONFIG_HEADERS(config.h)
 
index 8673153..b0a108d 100644 (file)
@@ -527,7 +527,7 @@ dump_funcs(void) {
 
 static void
 usage(void) {
-       fprintf(stderr, _("dumpkeys version %s"), VERSION);
+       fprintf(stderr, _("dumpkeys version %s"), PACKAGE_VERSION);
        fprintf(stderr, _("\
 \n\
 usage: dumpkeys [options...]\n\
index 07380b7..5476312 100644 (file)
@@ -22,7 +22,7 @@ static void usage(void)
 "      -h --help            display this help text\n"
 "      -V --version         display this help text\n"
 "      -n --next-available  display next unallocated VT\n"),
-                       progname, VERSION, progname);
+                       progname, PACKAGE_VERSION, progname);
        exit(1);
 }
 
index 1cfa5f9..d802547 100644 (file)
@@ -1956,7 +1956,7 @@ usage(void) {
 "      -m --mktable      output a \"defkeymap.c\" to stdout\n"
 "      -s --clearstrings clear kernel string table\n"
 "      -u --unicode      implicit conversion to Unicode\n"
-"      -v --verbose      report the changes\n"), VERSION);
+"      -v --verbose      report the changes\n"), PACKAGE_VERSION);
        exit(1);
 }
 
index 310f1fa..84aaaab 100644 (file)
@@ -260,7 +260,7 @@ usage(void) {
 "      -m --mktable      output a \"defkeymap.c\" to stdout\n"
 "      -s --clearstrings clear kernel string table\n"
 "      -u --unicode      implicit conversion to Unicode\n"
-"      -v --verbose      report the changes\n"), VERSION);
+"      -v --verbose      report the changes\n"), PACKAGE_VERSION);
        exit(1);
 }
 
index 4bc777e..d758842 100644 (file)
@@ -85,7 +85,7 @@ usage(void) {
 "      -a --ascii      display the decimal/octal/hex values of the keys\n"
 "      -s --scancodes  display only the raw scan-codes\n"
 "      -k --keycodes   display only the interpreted keycodes (default)\n"
-), VERSION);
+), PACKAGE_VERSION);
        exit(1);
 }
 
index 1868896..7e9be9d 100644 (file)
@@ -1,7 +1,7 @@
 #include <string.h>
 #include <stdlib.h>
 
-#define VERSION "1.13"
+#include "../config.h"
 
 char *progname;
 
@@ -15,6 +15,6 @@ set_progname(char *name) {
 
 static inline void
 print_version_and_exit(void) {
-       printf(_("%s from %s\n"), progname, "kbd-" VERSION);
+       printf(_("%s from %s\n"), progname, PACKAGE_STRING);
        exit(0);
 }