- data: unify and simplify Makefiles

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2019-05-01 18:15:30 +02:00
committed by Thilo Graf
parent b3b7ac5c3e
commit 9ff0df9d8b
5 changed files with 44 additions and 51 deletions

View File

@@ -1,44 +1,22 @@
installdir = $(CONTROLDIR)
install_DATA = \
flash.start
# install_DATA += \
# audioplayer.start \
# audioplayer.end \
# deepstandby.on \
# deepstandby.off \
# flash.start \
# inactivity.on \
# movieplayer.start \
# movieplayer.end \
# neutrino.start \
# pictureviewer.start \
# pictureviewer.end \
# recording.timer \
# recording.start \
# recording.end \
# scan.start \
# 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)/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
install_SCRIPTS = \
audioplayer.start \
audioplayer.end \
deepstandby.on \
deepstandby.off \
flash.start \
inactivity.on \
\
movieplayer.start \
movieplayer.end \
neutrino.start \
pictureviewer.start \
pictureviewer.end \
recording.timer \
recording.start \
recording.end \
scan.start \
scan.stop \
standby.on \
standby.off

View File

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

View File

@@ -1,3 +1,10 @@
installdir = $(CONFIGDIR)/initial
install_DATA = bouquets.xml services.xml ubouquets.xml frontend.conf
install_DATA = \
frontend.conf \
bouquets.xml \
services.xml \
ubouquets.xml

View File

@@ -1,11 +1,17 @@
installdir = $(bindir)
install_DATA = \
install_SCRIPTS = \
backup.sh \
restore.sh \
install.sh
install-data-hook:
chmod 0755 $(DESTDIR)$(bindir)/backup.sh
chmod 0755 $(DESTDIR)$(bindir)/restore.sh
chmod 0755 $(DESTDIR)$(bindir)/install.sh
if BOXMODEL_CS_HD2
install_SCRIPTS += \
backup_flash.sh \
restore_flash.sh
endif
if BOXTYPE_ARMBOX
install_SCRIPTS += \
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 = \
Bluemoon-3.0.theme \
Classic.theme \