summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMatti Lehtimäki <matti.lehtimaki@gmail.com>2012-04-14 00:16:51 +0300
committerMatti Lehtimäki <matti.lehtimaki@gmail.com>2012-04-14 00:16:51 +0300
commite1d229da6a962bbe2dcbdbbd0f0baf2d01887b76 (patch)
treef8fff5b806d4d502864b74725318dfd1c2d7a104 /Makefile
parent42a70272e25e39a67438ae57cf2ec27338f5244e (diff)
downloadvdr-plugin-epgfixer-e1d229da6a962bbe2dcbdbbd0f0baf2d01887b76.tar.gz
vdr-plugin-epgfixer-e1d229da6a962bbe2dcbdbbd0f0baf2d01887b76.tar.bz2
Fix plugin version. Makefile improvements.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 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='<see README>' -o $@ $^
+ xgettext -C -cTRANSLATORS --no-wrap --no-location -k -ktr -ktrNOOP --package-name='vdr-$(PLUGIN)' --package-version='$(VERSION)' --msgid-bugs-address='<see README>' -o $@ `ls $^`
%.po: $(I18Npot)
msgmerge -U --no-wrap --no-location --backup=none -q $@ $<