aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2012-09-04 18:24:59 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2012-09-04 18:24:59 +0000
commit1f595ea0ba4c95b6b91ccdf606be8f8a387cc255 (patch)
treefaf6b8e1c3c138b282892cf969fda3c51b78b031 /Makefile
parent12d9bda6631a651700b46d94f27cd61c30192040 (diff)
Cosmetic (source only) fixes to whatsnew
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9983 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 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)