From fddad09b7471a28bef07280111b41d6762850860 Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Wed, 17 Mar 2010 08:15:25 +0100 Subject: [PATCH] Removed the revision number. --- Makefile | 3 +-- REVISION_NUMBER | 2 +- mkdeb.sh | 2 +- selector.c | 4 ++-- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 12eb260..d8a9b3c 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,6 @@ MAN_PATH = /usr/share/man/man1 LDFLAGS=-lcurses -REVISION_NUMBER=\"$(shell cat REVISION_NUMBER)\" UNAME=\"$(shell uname -srmn)\" ifeq ($(DEBUG),yes) @@ -35,7 +34,7 @@ else OPTIMIZE_FLAG = -O2 endif -CFLAGS = -Wall -ansi -pedantic -DREVISION_NUMBER="$(REVISION_NUMBER)" -DUNAME="$(UNAME)" $(OPTIMIZE_FLAG) +CFLAGS = -Wall -ansi -pedantic -DUNAME="$(UNAME)" $(OPTIMIZE_FLAG) all: selector diff --git a/REVISION_NUMBER b/REVISION_NUMBER index 147ea53..b000479 100644 --- a/REVISION_NUMBER +++ b/REVISION_NUMBER @@ -1 +1 @@ -158 \ No newline at end of file +159 \ No newline at end of file diff --git a/mkdeb.sh b/mkdeb.sh index 4fd9201..a8ab485 100755 --- a/mkdeb.sh +++ b/mkdeb.sh @@ -27,7 +27,7 @@ set -e -VERSION=1.0-R$(cat REVISION_NUMBER) +VERSION=1.0.1 PACKAGE=/tmp/selector_${VERSION}_i386.deb BIN_PATH="usr/bin" diff --git a/selector.c b/selector.c index e6b49aa..5c9d85f 100644 --- a/selector.c +++ b/selector.c @@ -43,7 +43,7 @@ #include #include -#define VERSION "1.0" +#define VERSION "1.0.1" #define BUFFER_SIZE 4096 @@ -144,7 +144,7 @@ void error_feedback() { void print_help(FILE *out) { - fprintf(out, "Selector version %s-R%s (%s)\n", VERSION, REVISION_NUMBER, UNAME); + fprintf(out, "Selector version %s (%s)\n", VERSION, UNAME); fprintf(out, "Written by Francois Fleuret .\n"); fprintf(out, "\n"); fprintf(out, "Usage: selector [options] [ [ ...]]\n"); -- 2.39.5