Fix dbtoepub output file name

In previous releases, the input file of dbtoepub was postgres.xml, and
dbtoepub knows to derive the output file name postgres.epub from that
automatically.  But now the intput file is postgres.sgml (since
postgres.sgml is itself an XML file and we no longer need the
intermediate postgres.xml file), but dbtoepub doesn't know how to deal
with the .sgml suffix, so the automatically derived output file name
becomes postgres.sgml.epub.  Fix by adding an explicit -o option.
This commit is contained in:
Peter Eisentraut 2019-02-21 15:39:37 +01:00
parent e22bfe94e4
commit c08b65bc43

View File

@ -177,7 +177,7 @@ postgres.pdf:
epub: postgres.epub
postgres.epub: postgres.sgml $(ALLSGML)
$(XMLLINT) --noout --valid $<
$(DBTOEPUB) $<
$(DBTOEPUB) -o $@ $<
##