mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-18 19:29:21 +01:00
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:
parent
b649e6b6d8
commit
df732b51c0
1
Makefile
1
Makefile
@ -46,6 +46,7 @@ book: validate profile-html
|
|||||||
@echo "Copying CSS code and images..."
|
@echo "Copying CSS code and images..."
|
||||||
$(Q)mkdir -p $(BASEDIR)/stylesheets
|
$(Q)mkdir -p $(BASEDIR)/stylesheets
|
||||||
$(Q)cp stylesheets/lfs-xsl/*.css $(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)mkdir -p $(BASEDIR)/images
|
||||||
$(Q)cp images/*.png $(BASEDIR)/images
|
$(Q)cp images/*.png $(BASEDIR)/images
|
||||||
|
Loading…
Reference in New Issue
Block a user