gnucash-docs maint: Rearrange the epub posthook script.
John Ralls
jralls at code.gnucash.org
Tue Jan 1 16:28:19 EST 2019
Updated via https://github.com/Gnucash/gnucash-docs/commit/1c919e80 (commit)
from https://github.com/Gnucash/gnucash-docs/commit/f6ec7f08 (commit)
commit 1c919e800a3d7c5b542604d437fb4ea6d8ecf3c9
Author: John Ralls <jralls at ceridwen.us>
Date: Tue Jan 1 13:26:10 2019 -0800
Rearrange the epub posthook script.
So that points to the right directory.
diff --git a/epub.make b/epub.make
index bef047a..aec5aea 100644
--- a/epub.make
+++ b/epub.make
@@ -11,14 +11,15 @@ epub-am:
.xml.epub:
EPUB_TMPDIR=`mktemp -d .epubtmpXXXXXXXX`; \
posthook='exit 1'; \
- (cd "$$EPUB_TMPDIR" && \
- echo "application/epub+zip" > mimetype && \
+ ( echo "application/epub+zip" > mimetype && \
$(XSLTPROC) $(XSLTPROCFLAGS) \
+ -o $$EPUB_TMPDIR/ \
--stringparam base.dir OEBPS/ \
--stringparam epub.metainf.dir META-INF/ \
--stringparam epub.oebps.dir OEBPS/ \
$(abs_top_srcdir)/xsl/1.79.2/epub/docbook.xsl \
$(abs_srcdir)/$(docname).xml && \
+ cd "$$EPUB_TMPDIR" && \
cp -L -R $(abs_srcdir)/figures OEBPS/ && \
zip -X -r ../$(epubfile) mimetype META-INF OEBPS && \
cd ..) && posthook=''; \
Summary of changes:
epub.make | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
More information about the gnucash-changes
mailing list