From 61eac04a67134cc499a273007ff0b9496664d002 Mon Sep 17 00:00:00 2001 From: "J. Krieg" Date: Tue, 13 Nov 2018 20:45:06 +0100 Subject: [PATCH] webradio: create necessary data directories at build time and put sample file in it Signed-off-by: Thilo Graf --- 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 43b873fd1..472ceda53 100644 --- a/configure.ac +++ b/configure.ac @@ -349,6 +349,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 fe50ca81e..2b30dd026 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -11,6 +11,7 @@ SUBDIRS = \ policy \ scripts \ themes \ + webradio \ webtv \ y-web @@ -30,7 +31,6 @@ 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