summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2015-01-06 06:07:48 +0100
committerlouis <louis.braun@gmx.de>2015-01-06 06:07:48 +0100
commitacd552d5f37ec4882f624baf8cb860c001cfdd89 (patch)
tree5545dbdf9b15d2bd1e0ff57c21f7b699a683570b /Makefile
parent8328a5d4d928bd81179ab03490eb59655d418b58 (diff)
downloadvdr-plugin-skindesigner-acd552d5f37ec4882f624baf8cb860c001cfdd89.tar.gz
vdr-plugin-skindesigner-acd552d5f37ec4882f624baf8cb860c001cfdd89.tar.bz2
added skin blackhole
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ace7d29..f77edb1 100644
--- a/Makefile
+++ b/Makefile
@@ -22,6 +22,7 @@ PLGCFG = $(call PKGCFG,plgcfg)
VDRCONFDIR = $(call PKGCFG,configdir)
PLGRESDIR = $(call PKGCFG,resdir)/plugins/$(PLUGIN)
TMPDIR ?= /tmp
+SKINDESIGNER_SCRIPTDIR ?= $(LIBDIR)/$(PLUGIN)/scripts
### The compiler options:
export CFLAGS = $(call PKGCFG,cflags)
@@ -44,6 +45,7 @@ SOFILE = libvdr-$(PLUGIN).so
### Includes and Defines and Dependencies:
DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"' $(CONFIG)
DEFINES += $(shell xml2-config --cflags)
+DEFINES += -DSCRIPTFOLDER='"$(SKINDESIGNER_SCRIPTDIR)"'
INCLUDES += $(shell pkg-config --cflags freetype2 fontconfig)
@@ -160,7 +162,11 @@ install-skins:
mkdir -p $(DESTDIR)$(PLGRESDIR)/dtd
cp -r dtd/* $(DESTDIR)$(PLGRESDIR)/dtd
-install: install-lib install-i18n install-themes install-skins
+install-scripts:
+ mkdir -p $(DESTDIR)$(SKINDESIGNER_SCRIPTDIR)
+ cp -r scripts/* $(DESTDIR)$(SKINDESIGNER_SCRIPTDIR)
+
+install: install-lib install-i18n install-themes install-skins install-scripts
dist: $(I18Npo) clean
@-rm -rf $(TMPDIR)/$(ARCHIVE)