- use PRIVATE_HTTPDDIR variable in Makefiles

This commit is contained in:
svenhoefer
2015-05-06 10:38:19 +02:00
parent 11ccc53f0b
commit 45a895f704
5 changed files with 7 additions and 7 deletions

View File

@@ -1,6 +1,6 @@
SUBDIRS = images scripts languages styles
installdir = $(DATADIR)/neutrino/httpd
installdir = $(PRIVATE_HTTPDDIR)
install_DATA = channels.js \
channels.txt \

View File

@@ -1,4 +1,4 @@
installdir = $(DATADIR)/neutrino/httpd/images
installdir = $(PRIVATE_HTTPDDIR)/images
install_DATA = accept.png \
alert.gif \

View File

@@ -1,4 +1,4 @@
installdir = $(DATADIR)/neutrino/httpd/languages
installdir = $(PRIVATE_HTTPDDIR)/languages
install_DATA = Czech Deutsch English Polski Portuguese Slovak

View File

@@ -1,4 +1,4 @@
installdir = $(DATADIR)/neutrino/httpd/scripts
installdir = $(PRIVATE_HTTPDDIR)/scripts
install_DATA= api.sh _Y_Globals.sh _Y_Library.sh Y_Live.sh Y_Tools.sh
@@ -6,5 +6,5 @@ install_DATA= api.sh _Y_Globals.sh _Y_Library.sh Y_Live.sh Y_Tools.sh
install_DATA += Y_NAS.sh
install-data-hook:
chmod 0755 $(DESTDIR)$(DATADIR)/neutrino/httpd/scripts/api.sh
chmod 0755 $(DESTDIR)$(DATADIR)/neutrino/httpd/scripts/Y_*.sh
chmod 0755 $(DESTDIR)$(PRIVATE_HTTPDDIR)/scripts/api.sh
chmod 0755 $(DESTDIR)$(PRIVATE_HTTPDDIR)/scripts/Y_*.sh

View File

@@ -1,3 +1,3 @@
installdir = $(DATADIR)/neutrino/httpd/styles
installdir = $(PRIVATE_HTTPDDIR)/styles
install_DATA = Y_Dist-Tuxbox.css Y_Dist-GreyBlue.css