From df732b51c063da5200ac0ce648cf284f67596125 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Sat, 21 Aug 2021 10:13:49 +0200 Subject: [PATCH] Fix lfs-print.css location in index.html The template generates ../stylesheets/lfs-print.css, which is ok for all pages, except index.html. Remove the ../ with a sed in the Makefile. --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 399ae8055..be9c522f3 100644 --- a/Makefile +++ b/Makefile @@ -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