Fix lfs-print.css location in index.html <head>

The template generates ../stylesheets/lfs-print.css, which is
ok for all pages, except index.html. Remove the ../ with a sed
in the Makefile.
This commit is contained in:
Pierre Labastie 2021-08-21 10:13:49 +02:00
parent b649e6b6d8
commit df732b51c0

View File

@ -46,6 +46,7 @@ book: validate profile-html
@echo "Copying CSS code and images..."
$(Q)mkdir -p $(BASEDIR)/stylesheets
$(Q)cp stylesheets/lfs-xsl/*.css $(BASEDIR)/stylesheets
$(Q)sed -i 's|../stylesheet|stylesheet|' $(BASEDIR)/index.html
$(Q)mkdir -p $(BASEDIR)/images
$(Q)cp images/*.png $(BASEDIR)/images