git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 71627f3)
doc: Add make target to produce EPUB from DocBook
2013年2月14日 04:12:21 +0000 (23:12 -0500)
2013年2月14日 04:12:21 +0000 (23:12 -0500)

diff --git a/doc/src/sgml/Makefile b/doc/src/sgml/Makefile
index f40a1fe7fc28dcc8a19f7bab6a6f4679635bd83f..aeade13dff38b928908fdb16ac2dca80791cdb58 100644 (file)
--- a/doc/src/sgml/Makefile
+++ b/doc/src/sgml/Makefile
@@ -46,6 +46,8 @@ endif
override XSLTPROCFLAGS += --stringparam pg.version '$(VERSION)'
+DBTOEPUB ?= dbtoepub
+
GENERATED_SGML = bookindex.sgml version.sgml \
features-supported.sgml features-unsupported.sgml errcodes-table.sgml
@@ -271,6 +273,10 @@ htmlhelp: stylesheet-hh.xsl postgres.xml
%-US.fo: stylesheet-fo.xsl %.xml
$(XSLTPROC) $(XSLTPROCFLAGS) --stringparam paper.type USletter -o $@ $^
+epub: postgres.epub
+postgres.epub: postgres.xml
+ $(DBTOEPUB) $<
+
##
## Experimental Texinfo targets
@@ -385,6 +391,8 @@ clean:
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
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /