aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPierre Labastie <pierre.labastie@neuf.fr>2021-08-21 10:13:49 +0200
committerPierre Labastie <pierre.labastie@neuf.fr>2021-08-21 10:13:49 +0200
commitdf732b51c063da5200ac0ce648cf284f67596125 (patch)
tree476a50d8e4fa24b48eeede8df2b6469e787ca521 /Makefile
parentb649e6b6d88d4a41e52243b8e393e619604c0f88 (diff)
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.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
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