From 1f595ea0ba4c95b6b91ccdf606be8f8a387cc255 Mon Sep 17 00:00:00 2001 From: Matthew Burgess Date: Tue, 4 Sep 2012 18:24:59 +0000 Subject: [PATCH] Cosmetic (source only) fixes to whatsnew git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9983 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- Makefile | 5 ++- chapter01/whatsnew.xml | 46 ++++++++++++---------------- stylesheets/lfs-xsl/chunk-master.xsl | 4 +-- stylesheets/lfs-xsl/chunk-slave.xsl | 4 +-- stylesheets/lfs-xsl/nochunks.xsl | 2 +- stylesheets/lfs-xsl/pdf.xsl | 2 +- stylesheets/lfs-xsl/profile.xsl | 4 +-- 7 files changed, 32 insertions(+), 35 deletions(-) diff --git a/Makefile b/Makefile index f173b59a3..34b94eb62 100644 --- a/Makefile +++ b/Makefile @@ -29,7 +29,6 @@ lfs: validate profile-html fi; $(Q)cp images/*.png $(BASEDIR)/images $(Q)cd $(BASEDIR)/; sed -i -e "s@../stylesheets@stylesheets@g" *.html - $(Q)cd $(BASEDIR)/; sed -i -e "s@../images@images@g" *.html @echo "Running Tidy and obfuscate.sh..." $(Q)for filename in `find $(BASEDIR) -name "*.html"`; do \ @@ -76,6 +75,10 @@ nochunks: validate profile-html $(BASEDIR)/$(NOCHUNKS_OUTPUT) $(Q)$(MAKE) wget-list +epub: validate + @echo "Generating ePub..." + $(Q)xsltproc --nonet stylesheets/lfs-xsl/epub.xsl $(RENDERTMP)/lfs-full.xml + tmpdir: @echo "Creating and cleaning $(RENDERTMP)" $(Q)[ -d $(RENDERTMP) ] || mkdir -p $(RENDERTMP) diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index ce70a3bf9..d8b7eb525 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -27,8 +27,8 @@ --> + + + + + + + + + + diff --git a/stylesheets/lfs-xsl/chunk-master.xsl b/stylesheets/lfs-xsl/chunk-master.xsl index 893747712..4733a3d3c 100644 --- a/stylesheets/lfs-xsl/chunk-master.xsl +++ b/stylesheets/lfs-xsl/chunk-master.xsl @@ -18,10 +18,10 @@ $Date$ - + - + diff --git a/stylesheets/lfs-xsl/chunk-slave.xsl b/stylesheets/lfs-xsl/chunk-slave.xsl index a677e67fb..c5a8045a8 100644 --- a/stylesheets/lfs-xsl/chunk-slave.xsl +++ b/stylesheets/lfs-xsl/chunk-slave.xsl @@ -13,7 +13,7 @@ $Date$ Sets global params and include customized elements templates. --> - + @@ -31,7 +31,7 @@ $Date$ The path from top-level HTML files (index.html, partX.html, etc) MUST be fixed via a sed in the Makefile--> - + diff --git a/stylesheets/lfs-xsl/nochunks.xsl b/stylesheets/lfs-xsl/nochunks.xsl index 7f5cbcb8a..3652e5594 100644 --- a/stylesheets/lfs-xsl/nochunks.xsl +++ b/stylesheets/lfs-xsl/nochunks.xsl @@ -13,7 +13,7 @@ $Date$ Replaces {docbook-xsl}/xhtml/profile-docbook.xsl --> - + diff --git a/stylesheets/lfs-xsl/pdf.xsl b/stylesheets/lfs-xsl/pdf.xsl index a1c9f1991..126655f9d 100644 --- a/stylesheets/lfs-xsl/pdf.xsl +++ b/stylesheets/lfs-xsl/pdf.xsl @@ -14,7 +14,7 @@ $Date$ - + - + - +