summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Lehtimäki <matti.lehtimaki@gmail.com>2013-09-28 11:04:09 +0200
committerMatti Lehtimäki <matti.lehtimaki@gmail.com>2013-09-28 11:04:09 +0200
commitc6c31d0d6dca95e07294ccb1d5827f91fb6776d8 (patch)
tree4ea7981d62b0806ef0508dbb2b66eded1d257d88
parentfac33cd988d6d0c3718ef6e2148d41a4b5141289 (diff)
downloadvdr-plugin-epgfixer-c6c31d0d6dca95e07294ccb1d5827f91fb6776d8.tar.gz
vdr-plugin-epgfixer-c6c31d0d6dca95e07294ccb1d5827f91fb6776d8.tar.bz2
Makefile fixes. Update HISTORY.
-rw-r--r--HISTORY10
-rw-r--r--Makefile9
2 files changed, 17 insertions, 2 deletions
diff --git a/HISTORY b/HISTORY
index e04b138..052f3bf 100644
--- a/HISTORY
+++ b/HISTORY
@@ -1,6 +1,16 @@
VDR Plugin 'epgfixer' Revision History
--------------------------------------
+2013-xx-xx: Version x.x.x
+
+- Makefile fixes. Install example config files automatically.
+- Fix crash in config editing menus if using color buttons when config is empty.
+- Fix SVDRP command REL (thanks to Ville Skyttä).
+- Fix LoadConfigFile() return value on success (thanks to Ville Skyttä).
+- Support for new Makefile of VDR >= 1.7.34.
+- Report an error if PCRE library is not available.
+- Fix replacing at the end of string when using s///. Fix variable name clash.
+
2012-11-28: Version 0.3.1
- Fix memory leak.
diff --git a/Makefile b/Makefile
index 7fefcbe..9b1b134 100644
--- a/Makefile
+++ b/Makefile
@@ -19,6 +19,7 @@ GITTAG = $(shell git describe --always 2>/dev/null)
# Use package data if installed...otherwise assume we're under the VDR source directory:
PKGCFG = $(if $(VDRDIR),$(shell pkg-config --variable=$(1) $(VDRDIR)/vdr.pc),$(shell pkg-config --variable=$(1) vdr || pkg-config --variable=$(1) ../../../vdr.pc))
+CFGDIR = $(call PKGCFG,configdir)
LIBDIR = $(call PKGCFG,libdir)
LOCDIR = $(call PKGCFG,locdir)
PLGCFG = $(call PKGCFG,plgcfg)
@@ -70,7 +71,7 @@ OBJS = $(PLUGIN).o blacklist.o charset.o config.o epgclone.o epghandler.o regexp
ifeq ($(REGEXLIB), pcre)
LIBS += $(shell pcre-config --libs-posix)
-INCLUDE += $(shell pcre-config --cflags)
+INCLUDES += $(shell pcre-config --cflags)
DEFINES += -DHAVE_PCREPOSIX
endif
@@ -126,7 +127,11 @@ $(SOFILE): $(OBJS)
install-lib: $(SOFILE)
install -D $^ $(DESTDIR)$(LIBDIR)/$^.$(APIVERSION)
-install: install-lib install-i18n
+install-conf:
+ @mkdir -p $(DESTDIR)$(CFGDIR)/plugins/$(PLUGIN)
+ @cp -pn $(PLUGIN)/* $(DESTDIR)$(CFGDIR)/plugins/$(PLUGIN)/
+
+install: install-lib install-i18n install-conf
dist: $(I18Npo) clean
@-rm -rf $(TMPDIR)/$(ARCHIVE)