X-Git-Url: https://pere.pagekite.me/gitweb/text-free-culture-lessig.git/blobdiff_plain/de8c61547fc200dec4e099bc958879835cc97f80..b9ec14bc457cf4e191d31d2515f64efb33a78732:/Makefile diff --git a/Makefile b/Makefile index eb9e4ba..2166654 100644 --- a/Makefile +++ b/Makefile @@ -44,6 +44,11 @@ HTML_XSLT = \ data/html.xsl \ data/stylesheet-html.xsl +EPUB_XSLT = \ + $(XSLT) \ + data/html.xsl \ + data/stylesheet-epub.xsl + PDF_XSLT = \ $(DB_XSLT) \ $(XSLT) \ @@ -134,8 +139,10 @@ pdf-compare: freeculture.xml $(IMAGES) %.txt: %.xml $(IMAGES) xmlto txt $< -%.epub: %.xml $(IMAGES) - $(DBTOEPUB) $< +%.epub: %.xml $(IMAGES) $(EPUB_XSLT) + $(DBTOEPUB) \ + -s data/stylesheet-epub.xsl \ + $< %.mobi: %.epub ebook-convert $< $@