diff options
| author | Dave <vdr@pickles.me.uk> | 2015-09-29 16:17:00 +0100 |
|---|---|---|
| committer | Dave <vdr@pickles.me.uk> | 2015-09-29 16:17:00 +0100 |
| commit | 7b4996433f90d74d5afd1ea6ab4d1997c9e2089c (patch) | |
| tree | 8e59d6ec86523dc6d3a383e02fa711a824e8ea87 | |
| parent | 17153724739c4ef07323bcd93b4060c3420598da (diff) | |
| download | vdrtva-7b4996433f90d74d5afd1ea6ab4d1997c9e2089c.tar.gz vdrtva-7b4996433f90d74d5afd1ea6ab4d1997c9e2089c.tar.bz2 | |
Makefile now builds stable or development version.
| -rw-r--r-- | Makefile | 10 | ||||
| -rw-r--r-- | vdrtva-2.3.c | 2 | ||||
| -rw-r--r-- | vdrtva.c | 2 |
3 files changed, 10 insertions, 4 deletions
@@ -55,7 +55,13 @@ DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"' ### The object files (add further files here): -OBJS = $(PLUGIN).o +ifeq "2.3.0" "$(word 1, $(sort $(APIVERSION) 2.3.0))" + SOURCES = $(PLUGIN)-2.3.c + OBJS = $(PLUGIN)-2.3.o +else + SOURCES = $(PLUGIN).c + OBJS = $(PLUGIN).o +endif ### The main target: @@ -86,7 +92,7 @@ I18Npot = $(PODIR)/$(PLUGIN).pot %.mo: %.po msgfmt -c -o $@ $< -$(I18Npot): $(wildcard *.c) +$(I18Npot): $(SOURCES) 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) diff --git a/vdrtva-2.3.c b/vdrtva-2.3.c index 6df25e0..e3ed797 100644 --- a/vdrtva-2.3.c +++ b/vdrtva-2.3.c @@ -24,7 +24,7 @@ cLinks Links; cTvaLog tvalog; char *configDir; -static const char *VERSION = "0.3.3"; +static const char *VERSION = "0.3.5"; static const char *DESCRIPTION = "Series Record plugin"; static const char *MAINMENUENTRY = "Series Links"; @@ -24,7 +24,7 @@ cLinks Links; cTvaLog tvalog; char *configDir; -static const char *VERSION = "0.3.3"; +static const char *VERSION = "0.3.5"; static const char *DESCRIPTION = "Series Record plugin"; static const char *MAINMENUENTRY = "Series Links"; |
