Fix overwrite indexhtml css by css for ahttpd

This commit is contained in:
Andrey Cherepanov 2019-05-24 18:54:23 +03:00
parent 81c9c5e5bc
commit a3c133dd4a

View File

@ -6,7 +6,7 @@ VERSION=@VERSION@
PRODUCT_NAME=@PRODUCT_NAME@
CODENAME=@CODENAME@
.PHONY: graphics browser-qt ahttpd boot-images boot-splash boot indexhtml install education-install browser-qt/design/bg.png indexhtml/index.css hidden-menu-entries
.PHONY: graphics browser-qt ahttpd boot-images boot-splash boot indexhtml install education-install browser-qt/design/bg.png hidden-menu-entries
# graphics
@ -109,12 +109,8 @@ boot: boot-images
install -m 644 images/boot.png $(sysconfdir)/../boot/grub/themes/$(THEME)/boot.png
install -m 644 images/boot.jpg $(sysconfdir)/../boot/grub/themes/$(THEME)/grub.jpg
# index html page, start page for all local browsers
indexhtml/index.css:
sed 's|/design/|file:///usr/share/alterator/design/|g' ahttpd/styles/alterator.css > indexhtml/index.css
INDEXHTML_DIR=$(datadir)/doc/indexhtml
indexhtml: indexhtml/index.css
indexhtml:
for i in indexhtml/*.html indexhtml/*.css;do \
install -Dpm644 $$i $(INDEXHTML_DIR)/`basename $$i`; \
done