webradio: 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 7190b81f10
commit 61eac04a67
4 changed files with 10 additions and 2 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/webradio/Makefile
data/webtv/Makefile data/webtv/Makefile
data/y-web/Makefile data/y-web/Makefile
data/y-web/images/Makefile data/y-web/images/Makefile

View File

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

View File

@@ -0,0 +1,7 @@
installdir = $(WEBRADIODIR_VAR)
install_DATA = \
webradio_usr.xml
install-data-hook:
$(INSTALL) -d $(DESTDIR)/$(WEBRADIODIR)