summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-09-02 14:28:24 +0200
committerlouis <louis.braun@gmx.de>2013-09-02 14:28:24 +0200
commitef892c7fd1c07d6f8a9d44330de2e989b24e7407 (patch)
treeb4269cd83c8d16e56e7a6e51fa2df5091fe6ecff /Makefile
parent3c0a62177d4e343991e26d125272a3ee90c99203 (diff)
downloadvdr-plugin-tvscraper-ef892c7fd1c07d6f8a9d44330de2e989b24e7407.tar.gz
vdr-plugin-tvscraper-ef892c7fd1c07d6f8a9d44330de2e989b24e7407.tar.bz2
introduced possibility to ignore titles, set scrap type and substitute search strings manually
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 52439ba..b1a8662 100644
--- a/Makefile
+++ b/Makefile
@@ -20,6 +20,7 @@ PKGCFG = $(if $(VDRDIR),$(shell pkg-config --variable=$(1) $(VDRDIR)/vdr.pc),$(s
LIBDIR = $(call PKGCFG,libdir)
LOCDIR = $(call PKGCFG,locdir)
PLGCFG = $(call PKGCFG,plgcfg)
+PLGCONFDIR = $(call PKGCFG,configdir)/plugins/$(PLUGIN)
#
TMPDIR ?= /tmp
@@ -113,7 +114,11 @@ $(SOFILE): $(OBJS)
install-lib: $(SOFILE)
install -D $^ $(DESTDIR)$(LIBDIR)/$^.$(APIVERSION)
-install: install-lib install-i18n
+install-conf:
+ @mkdir -p $(PLGCONFDIR)
+ @if [ ! -f $(PLGCONFDIR)/override.conf ]; then cp conf/override.conf $(PLGCONFDIR); fi;
+
+install: install-lib install-i18n install-conf
dist: $(I18Npo) clean
@-rm -rf $(TMPDIR)/$(ARCHIVE)