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$ - + - + - +