override XSLTPROCFLAGS += --stringparam pg.version '$(VERSION)'
+DBTOEPUB ?= dbtoepub
+
GENERATED_SGML = bookindex.sgml version.sgml \
features-supported.sgml features-unsupported.sgml errcodes-table.sgml
%-US.fo: stylesheet-fo.xsl %.xml
$(XSLTPROC) $(XSLTPROCFLAGS) --stringparam paper.type USletter -o $@ $^
+epub: postgres.epub
+postgres.epub: postgres.xml
+ $(DBTOEPUB) $<
+
##
## Experimental Texinfo targets
rm -f HTML.index $(GENERATED_SGML)
# XSLT
rm -f postgres.xml postgres.xmltmp htmlhelp.hhp toc.hhc index.hhk *.fo
+# EPUB
+ rm -f postgres.epub
# Texinfo
rm -f *.texixml *.texi *.info db2texi.refs