From 3879ebc975aacd894f9d55b6f0a352c8ef260a1f Mon Sep 17 00:00:00 2001 From: Manuel Canales Esparcia Date: Wed, 15 Sep 2004 19:37:05 +0000 Subject: [PATCH] In XHTML output, readded the XML declaration and changed the media type from text/html to application/xhtml+xml. Done here to test possibles mirrors issues. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4171 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- Makefile | 3 +++ stylesheets/lfs-chunked2.xsl | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 01b8df5b6..974275be8 100644 --- a/Makefile +++ b/Makefile @@ -26,6 +26,9 @@ lfs: sh goTidy $(BASEDIR)/ + for filename in `find $(BASEDIR) -name "*.html"`; do \ + sed -i -e "s@text/html@application/xhtml+xml@g" $$filename; \ + done; # # This is the old "pdf" target. The old "print" target below has been # renamed to "pdf" and will be used. This commented out previous_pdf diff --git a/stylesheets/lfs-chunked2.xsl b/stylesheets/lfs-chunked2.xsl index 43d5eecec..7bf7d7bc5 100644 --- a/stylesheets/lfs-chunked2.xsl +++ b/stylesheets/lfs-chunked2.xsl @@ -23,8 +23,8 @@ - + - +