aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
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)