From 451bbb57ebc689284ad2abc8e817f6c1a15001d1 Mon Sep 17 00:00:00 2001 From: "J. Krieg" Date: Thu, 22 Nov 2018 00:00:28 +0100 Subject: [PATCH] webradio: create necessary data directories at build time and put sample file in it Signed-off-by: Thilo Graf Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/b10abebe0e8cca147bc1bbb691a56e58ed827b38 Author: J. Krieg Date: 2018-11-22 (Thu, 22 Nov 2018) ------------------ This commit was generated by Migit --- configure.ac | 1 + data/Makefile.am | 4 ++-- data/webradio/Makefile.am | 7 +++++++ data/{ => webradio}/webradio_usr.xml | 0 4 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 data/webradio/Makefile.am rename data/{ => webradio}/webradio_usr.xml (100%) diff --git a/configure.ac b/configure.ac index f332bad3e..36e65d210 100644 --- a/configure.ac +++ b/configure.ac @@ -360,6 +360,7 @@ data/themes/Neutrino-3.0/icons/buttons/Makefile data/themes/Olive-3.0/Makefile data/themes/Olive-3.0/icons/Makefile data/themes/Olive-3.0/icons/buttons/Makefile +data/webradio/Makefile data/webtv/Makefile data/y-web/Makefile data/y-web/images/Makefile diff --git a/data/Makefile.am b/data/Makefile.am index f2ee0347a..a82c6e63f 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -10,6 +10,7 @@ SUBDIRS = \ pictures \ scripts \ themes \ + webradio \ webtv \ y-web @@ -29,8 +30,7 @@ config_DATA = \ satellites.xml \ settingsupdate.conf \ terrestrial.xml \ - tobackup.conf \ - webradio_usr.xml + tobackup.conf install-data-hook: $(INSTALL) -d $(DESTDIR)/$(CONFIGDIR)/zapit diff --git a/data/webradio/Makefile.am b/data/webradio/Makefile.am new file mode 100644 index 000000000..46ecf2c05 --- /dev/null +++ b/data/webradio/Makefile.am @@ -0,0 +1,7 @@ +installdir = $(WEBRADIODIR_VAR) + +install_DATA = \ + webradio_usr.xml + +install-data-hook: + $(INSTALL) -d $(DESTDIR)/$(WEBRADIODIR) diff --git a/data/webradio_usr.xml b/data/webradio/webradio_usr.xml similarity index 100% rename from data/webradio_usr.xml rename to data/webradio/webradio_usr.xml