From 60eb7270f48d39ede22cac0b927f90a1a0e3a85a Mon Sep 17 00:00:00 2001 From: Alexey Gladkov Date: Mon, 24 Mar 2008 19:46:03 +0300 Subject: [PATCH] Update release version Signed-off-by: Alexey Gladkov --- configure.ac | 2 +- src/dumpkeys.c | 2 +- src/fgconsole.c | 2 +- src/loadkeys.c | 2 +- src/loadkeys.y | 2 +- src/showkey.c | 2 +- src/version.h | 4 ++-- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/configure.ac b/configure.ac index 50a250d..5cdff3e 100644 --- a/configure.ac +++ b/configure.ac @@ -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) diff --git a/src/dumpkeys.c b/src/dumpkeys.c index 8673153..b0a108d 100644 --- a/src/dumpkeys.c +++ b/src/dumpkeys.c @@ -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\ diff --git a/src/fgconsole.c b/src/fgconsole.c index 07380b7..5476312 100644 --- a/src/fgconsole.c +++ b/src/fgconsole.c @@ -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); } diff --git a/src/loadkeys.c b/src/loadkeys.c index 1cfa5f9..d802547 100644 --- a/src/loadkeys.c +++ b/src/loadkeys.c @@ -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); } diff --git a/src/loadkeys.y b/src/loadkeys.y index 310f1fa..84aaaab 100644 --- a/src/loadkeys.y +++ b/src/loadkeys.y @@ -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); } diff --git a/src/showkey.c b/src/showkey.c index 4bc777e..d758842 100644 --- a/src/showkey.c +++ b/src/showkey.c @@ -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); } diff --git a/src/version.h b/src/version.h index 1868896..7e9be9d 100644 --- a/src/version.h +++ b/src/version.h @@ -1,7 +1,7 @@ #include #include -#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); } -- 2.7.4