data: unify and simplify Makefiles

Origin commit data
------------------
Branch: ni/coolstream
Commit: 4e58ef51f3
Author: vanhofen <vanhofen@gmx.de>
Date: 2019-05-01 (Wed, 01 May 2019)

Origin message was:
------------------
- data: unify and simplify Makefiles

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2019-05-01 18:15:30 +02:00
parent b16e9b0327
commit 2a839f1a08
5 changed files with 16 additions and 42 deletions

View File

@@ -1,6 +1,6 @@
installdir = $(CONTROLDIR)
install_DATA = \
install_SCRIPTS = \
audioplayer.start \
audioplayer.end \
deepstandby.on \
@@ -20,24 +20,3 @@ install_DATA = \
scan.stop \
standby.on \
standby.off
install-data-hook:
chmod 0755 $(DESTDIR)$(CONTROLDIR)/audioplayer.start
chmod 0755 $(DESTDIR)$(CONTROLDIR)/audioplayer.end
chmod 0755 $(DESTDIR)$(CONTROLDIR)/deepstandby.on
chmod 0755 $(DESTDIR)$(CONTROLDIR)/deepstandby.off
chmod 0755 $(DESTDIR)$(CONTROLDIR)/flash.start
chmod 0755 $(DESTDIR)$(CONTROLDIR)/inactivity.on
chmod 0755 $(DESTDIR)$(CONTROLDIR)/migration.sh
chmod 0755 $(DESTDIR)$(CONTROLDIR)/movieplayer.start
chmod 0755 $(DESTDIR)$(CONTROLDIR)/movieplayer.end
chmod 0755 $(DESTDIR)$(CONTROLDIR)/neutrino.start
chmod 0755 $(DESTDIR)$(CONTROLDIR)/pictureviewer.start
chmod 0755 $(DESTDIR)$(CONTROLDIR)/pictureviewer.end
chmod 0755 $(DESTDIR)$(CONTROLDIR)/recording.timer
chmod 0755 $(DESTDIR)$(CONTROLDIR)/recording.start
chmod 0755 $(DESTDIR)$(CONTROLDIR)/recording.end
chmod 0755 $(DESTDIR)$(CONTROLDIR)/scan.start
chmod 0755 $(DESTDIR)$(CONTROLDIR)/scan.stop
chmod 0755 $(DESTDIR)$(CONTROLDIR)/standby.on
chmod 0755 $(DESTDIR)$(CONTROLDIR)/standby.off

View File

@@ -1,3 +1,5 @@
installdir = $(CONFIGDIR)
install_DATA = radio-stations.xml radio-favorites.xml
install_DATA = \
radio-favorites.xml \
radio-stations.xml

View File

@@ -2,4 +2,9 @@ installdir = $(CONFIGDIR)/initial
# matze astra settings from http://matzesetting.brinkster.net/db/wizard/neutrino-hd/
# in a slightly edited form (problematic chars removed)
install_DATA = bouquets.xml services.xml ubouquets.xml frontend.conf
install_DATA = \
frontend.conf \
bouquets.xml \
services.xml \
ubouquets.xml

View File

@@ -1,30 +1,18 @@
installdir = $(bindir)
install_DATA = \
install_SCRIPTS = \
backup.sh \
restore.sh \
wakeup.sh \
install.sh
if BOXMODEL_CS_HD2
install_DATA += \
install_SCRIPTS += \
backup_flash.sh \
restore_flash.sh
endif
if BOXTYPE_ARMBOX
install_DATA += \
install_SCRIPTS += \
restore_flash.sh
endif
install-data-hook:
chmod 0755 $(DESTDIR)$(bindir)/backup.sh
chmod 0755 $(DESTDIR)$(bindir)/restore.sh
chmod 0755 $(DESTDIR)$(bindir)/wakeup.sh
chmod 0755 $(DESTDIR)$(bindir)/install.sh
if BOXMODEL_CS_HD2
chmod 0755 $(DESTDIR)$(bindir)/backup_flash.sh
chmod 0755 $(DESTDIR)$(bindir)/restore_flash.sh
endif
if BOXTYPE_ARMBOX
chmod 0755 $(DESTDIR)$(bindir)/restore_flash.sh
endif

View File

@@ -1,10 +1,10 @@
installdir = $(THEMESDIR)
SUBDIRS = \
Grey-Blue/icons/buttons \
Neutrino-3.0/icons/buttons \
Olive-3.0/icons/buttons
installdir = $(THEMESDIR)
install_DATA = \
AdulteratedOrange.theme \
Bluemoon-3.0.theme \