webtv: create necessary data directories at build time and put sample file in it

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
J. Krieg
2018-11-13 20:45:06 +01:00
committed by Thilo Graf
parent 3793c8dfd2
commit 7190b81f10
4 changed files with 8 additions and 7 deletions

View File

@@ -349,6 +349,7 @@ data/themes/Neutrino-3.0/icons/buttons/Makefile
data/themes/Olive-3.0/Makefile data/themes/Olive-3.0/Makefile
data/themes/Olive-3.0/icons/Makefile data/themes/Olive-3.0/icons/Makefile
data/themes/Olive-3.0/icons/buttons/Makefile data/themes/Olive-3.0/icons/buttons/Makefile
data/webtv/Makefile
data/y-web/Makefile data/y-web/Makefile
data/y-web/images/Makefile data/y-web/images/Makefile
data/y-web/languages/Makefile data/y-web/languages/Makefile

View File

@@ -11,6 +11,7 @@ SUBDIRS = \
policy \ policy \
scripts \ scripts \
themes \ themes \
webtv \
y-web y-web
if BOXTYPE_TRIPLE if BOXTYPE_TRIPLE
@@ -30,7 +31,6 @@ config_DATA = \
settingsupdate.conf \ settingsupdate.conf \
terrestrial.xml \ terrestrial.xml \
tobackup.conf \ tobackup.conf \
webradio_usr.xml \ webradio_usr.xml
webtv_usr.xml
install-data-hook: install-data-hook:
$(INSTALL) -d $(DESTDIR)/$(CONFIGDIR)/zapit $(INSTALL) -d $(DESTDIR)/$(CONFIGDIR)/zapit

View File

@@ -1,7 +1,7 @@
installdir = $(WEBTVDIR) installdir = $(WEBTVDIR_VAR)
install_DATA = \ install_DATA = \
filmon.lua \ webtv_usr.xml
filmon.xml \
yt_live.lua \ install-data-hook:
yt_live.xml $(INSTALL) -d $(DESTDIR)/$(WEBTVDIR)