From e1d229da6a962bbe2dcbdbbd0f0baf2d01887b76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matti=20Lehtim=C3=A4ki?= Date: Sat, 14 Apr 2012 00:16:51 +0300 Subject: Fix plugin version. Makefile improvements. --- Makefile | 4 ++-- epgfixer.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 9119f49..4bdbdf6 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).c | awk '{ pri ### The C++ compiler and options: CXX ?= g++ -CXXFLAGS ?= -g -O3 -Wall -Woverloaded-virtual -Wno-parentheses +CXXFLAGS ?= -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses ### The directory environment: @@ -95,7 +95,7 @@ I18Npot = $(PODIR)/$(PLUGIN).pot msgfmt -c -o $@ $< $(I18Npot): $(wildcard *.c) - xgettext -C -cTRANSLATORS --no-wrap --no-location -k -ktr -ktrNOOP --package-name=vdr-$(PLUGIN) --package-version=$(VERSION) --msgid-bugs-address='' -o $@ $^ + xgettext -C -cTRANSLATORS --no-wrap --no-location -k -ktr -ktrNOOP --package-name='vdr-$(PLUGIN)' --package-version='$(VERSION)' --msgid-bugs-address='' -o $@ `ls $^` %.po: $(I18Npot) msgmerge -U --no-wrap --no-location --backup=none -q $@ $< diff --git a/epgfixer.c b/epgfixer.c index 6fa9f3c..e58dd30 100644 --- a/epgfixer.c +++ b/epgfixer.c @@ -15,7 +15,7 @@ #error "VDR-1.7.26 API version or greater is required!" #endif -static const char *VERSION = "0.0.3"; +static const char *VERSION = "0.0.5"; static const char *DESCRIPTION = trNOOP("Fix bugs in EPG"); class cPluginEpgfixer : public cPlugin { -- cgit v1.2.3