Project Aon Git Repositories
/
project-aon.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Relocate commented code to the right location
[project-aon.git]
/
common
/
epub
/
Makefile.common
diff --git
a/common/epub/Makefile.common
b/common/epub/Makefile.common
index
43fc645
..
4f3e86e
100644
(file)
--- a/
common/epub/Makefile.common
+++ b/
common/epub/Makefile.common
@@
-91,9
+91,6
@@
XSLFILES=$(RELXSLDIR)/epub-opf-metadata.xsl $(RELXSLDIR)/epub-xhtml.xsl \
epub: $(EPUB)
$(AONROOTDIR)/$(BLANG)/epub/$(SERIES)/$(BASENAME)/$(EPUB): $(XMLFILE) $(EPUBSCRIPT) $(XSLFILES)
cd $(AONROOTDIR) && perl $(EPUBSCRIPT) --language=$(BLANG) --font-files=$(FONTDIR) $(BASENAME)
epub: $(EPUB)
$(AONROOTDIR)/$(BLANG)/epub/$(SERIES)/$(BASENAME)/$(EPUB): $(XMLFILE) $(EPUBSCRIPT) $(XSLFILES)
cd $(AONROOTDIR) && perl $(EPUBSCRIPT) --language=$(BLANG) --font-files=$(FONTDIR) $(BASENAME)
-# Alternate generation mechanism
-# @[ -x `which dbtoepub` ] || { echo "ERROR: Cannot find 'dbtoepub', please install this package" >&2; exit 1; }
-# dbtoepub -o $(BOOK) $(XMLFILE) >$(BOOK).log 2>&1; \
$(EPUB): $(AONROOTDIR)/$(BLANG)/epub/$(SERIES)/$(BASENAME)/$(EPUB) ebook-convert
cp -p $(AONROOTDIR)/$(BLANG)/epub/$(SERIES)/$(BASENAME)/$(EPUB) .
$(EPUB): $(AONROOTDIR)/$(BLANG)/epub/$(SERIES)/$(BASENAME)/$(EPUB) ebook-convert
cp -p $(AONROOTDIR)/$(BLANG)/epub/$(SERIES)/$(BASENAME)/$(EPUB) .
@@
-144,12
+141,14
@@
mobi: $(MOBI)
# Alternative build for the ePub format using open source tools instead
# Alternative build for the ePub format using open source tools instead
-# of our script:
+# of our script.
+# Sample Makefile code:
#
#DOCBOOK_XSL=/usr/share/xml/docbook/stylesheet/docbook-xsl/epub/docbook.xsl
#
#DOCBOOK_XSL=/usr/share/xml/docbook/stylesheet/docbook-xsl/epub/docbook.xsl
-#$(BOOK): $(XMLFILE) $(DOCBOOK_XSL)
+#$(EPUB): $(XMLFILE) $(DOCBOOK_XSL)
+# @[ -x `which dbtoepub` ] || { echo "ERROR: Cannot find 'dbtoepub', please install this package" >&2; exit 1; }
# if [ -x /usr/bin/dbtoepub ] ; then \
# if [ -x /usr/bin/dbtoepub ] ; then \
-# dbtoepub -o $(
BOOK
) $(XMLFILE) >$(BOOK).log 2>&1; \
+# dbtoepub -o $(
EPUB
) $(XMLFILE) >$(BOOK).log 2>&1; \
# else \
# xsltproc $(DOCBOOK_XSL) $< >$(BOOK).log 2>&1; \
# echo "application/epub+zip" > mimetype ; \
# else \
# xsltproc $(DOCBOOK_XSL) $< >$(BOOK).log 2>&1; \
# echo "application/epub+zip" > mimetype ; \