From b649e6b6d88d4a41e52243b8e393e619604c0f88 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Sat, 21 Aug 2021 08:59:51 +0200 Subject: [PATCH 1/2] Typo (double "the") Spotted by Rainer Fiebig --- chapter07/cleanup.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapter07/cleanup.xml b/chapter07/cleanup.xml index 04005eece..36af2cfaa 100644 --- a/chapter07/cleanup.xml +++ b/chapter07/cleanup.xml @@ -83,7 +83,7 @@ backed up for later reuse. In case of fatal failures in the subsequent chapters, it often turns out that removing everything and starting over (more carefully) is the best option to recover. Unfortunately, all the - the temporary files will be removed, too. To avoid spending extra time to + temporary files will be removed, too. To avoid spending extra time to redo something which has been built successfully, prepare a backup. From df732b51c063da5200ac0ce648cf284f67596125 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Sat, 21 Aug 2021 10:13:49 +0200 Subject: [PATCH 2/2] 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